From dc82cf9d3873535698fe1b6d6f04c6ff6ec13b79 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 12 Feb 2013 10:19:26 +0100 Subject: [PATCH] wininet: Don't reset the available size after the async has been queued. --- dlls/wininet/ftp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c index f0a6257da54..1b672118639 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; } }