Alexandre Julliard : wininet: Don' t reset the available size after the async has been queued.
Alexandre Julliard
julliard at winehq.org
Tue Feb 12 13:58:12 CST 2013
Module: wine
Branch: master
Commit: dc82cf9d3873535698fe1b6d6f04c6ff6ec13b79
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dc82cf9d3873535698fe1b6d6f04c6ff6ec13b79
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Feb 12 10:19:26 2013 +0100
wininet: Don't reset the available size after the async has been queued.
---
dlls/wininet/ftp.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c
index f0a6257..1b67211 100644
--- a/dlls/wininet/ftp.c
+++ b/dlls/wininet/ftp.c
@@ -1284,7 +1284,6 @@ static DWORD FTPFILE_QueryDataAvailable(object_header_t *hdr, DWORD *available,
task = alloc_async_task(&file->hdr, FTPFILE_AsyncQueryDataAvailableProc, sizeof(*task));
INTERNET_AsyncCall(task);
- *available = 0;
return ERROR_IO_PENDING;
}
}
More information about the wine-cvs
mailing list