Jacek Caban : wininet: Don' t send INTERNET_STATUS_REQUEST_COMPLETE notification from FTP_Connect.

Alexandre Julliard julliard at winehq.org
Wed Feb 11 09:24:03 CST 2009


Module: wine
Branch: master
Commit: 08e4846fca02841a917b8fc746ba3ae6bdea6fdb
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=08e4846fca02841a917b8fc746ba3ae6bdea6fdb

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Feb 10 16:31:19 2009 +0100

wininet: Don't send INTERNET_STATUS_REQUEST_COMPLETE notification from FTP_Connect.

---

 dlls/wininet/ftp.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c
index 32607b9..01a8105 100644
--- a/dlls/wininet/ftp.c
+++ b/dlls/wininet/ftp.c
@@ -2477,16 +2477,6 @@ lerror:
         handle = NULL;
     }
 
-    if (hIC->hdr.dwFlags & INTERNET_FLAG_ASYNC)
-    {
-        INTERNET_ASYNC_RESULT iar;
-
-        iar.dwResult = bSuccess ? (DWORD_PTR)lpwfs : 0;
-        iar.dwError = bSuccess ? ERROR_SUCCESS : INTERNET_GetLastError();
-        SendAsyncCallback(&hIC->hdr, dwContext, INTERNET_STATUS_REQUEST_COMPLETE,
-            &iar, sizeof(INTERNET_ASYNC_RESULT));
-    }
-
     return handle;
 }
 




More information about the wine-cvs mailing list