Paul Vriens : wininet/ftp.c: Fix some typos.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Feb 21 06:00:58 CST 2007
Module: wine
Branch: master
Commit: 8bc9bc2e29971565dd3932bc55c07ba7044807d8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8bc9bc2e29971565dd3932bc55c07ba7044807d8
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Wed Feb 21 08:52:08 2007 +0100
wininet/ftp.c: Fix some typos.
---
dlls/wininet/tests/ftp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wininet/tests/ftp.c b/dlls/wininet/tests/ftp.c
index 4afaddd..e87aa45 100644
--- a/dlls/wininet/tests/ftp.c
+++ b/dlls/wininet/tests/ftp.c
@@ -472,7 +472,7 @@ static void test_openfile(void)
/* We have a handle so all ftp calls should fail (TODO: Put more ftp-calls in here) */
SetLastError(0xdeadbeef);
bRet = FtpGetFileA(hFtp, "welcome.msg", "should_be_non_existing_deadbeef", FALSE, FILE_ATTRIBUTE_NORMAL, FTP_TRANSFER_TYPE_UNKNOWN, 0);
- ok ( bRet == FALSE, "Expected FtpDeleteFileA to fail\n");
+ ok ( bRet == FALSE, "Expected FtpGetFileA to fail\n");
ok ( GetLastError() == ERROR_FTP_TRANSFER_IN_PROGRESS,
"Expected ERROR_FTP_TRANSFER_IN_PROGRESS, got %d\n", GetLastError());
DeleteFileA("should_be_non_existing_deadbeef"); /* Just in case */
@@ -482,7 +482,7 @@ static void test_openfile(void)
ok ( bRet == FALSE, "Expected FtpOpenFileA to fail\n");
ok ( GetLastError() == ERROR_FTP_TRANSFER_IN_PROGRESS,
"Expected ERROR_FTP_TRANSFER_IN_PROGRESS, got %d\n", GetLastError());
- InternetCloseHandle(hOpenFile); /* Just in case */
+ InternetCloseHandle(hOpenFile2); /* Just in case */
}
InternetCloseHandle(hOpenFile);
More information about the wine-cvs
mailing list