wininet: Don't reset the available size after the async has been queued.
This commit is contained in:
parent
dc8d7e7d62
commit
dc82cf9d38
|
@ -1284,7 +1284,6 @@ static DWORD FTPFILE_QueryDataAvailable(object_header_t *hdr, DWORD *available,
|
||||||
task = alloc_async_task(&file->hdr, FTPFILE_AsyncQueryDataAvailableProc, sizeof(*task));
|
task = alloc_async_task(&file->hdr, FTPFILE_AsyncQueryDataAvailableProc, sizeof(*task));
|
||||||
INTERNET_AsyncCall(task);
|
INTERNET_AsyncCall(task);
|
||||||
|
|
||||||
*available = 0;
|
|
||||||
return ERROR_IO_PENDING;
|
return ERROR_IO_PENDING;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue