Commit b5044621 authored by Uwe Bonnes's avatar Uwe Bonnes Committed by Alexandre Julliard

Get full buffers in Internet_Readfile.

parent 440ad8cc
......@@ -1632,7 +1632,7 @@ BOOL WINAPI InternetReadFile(HINTERNET hFile, LPVOID lpBuffer,
{
case WH_HHTTPREQ:
if (!NETCON_recv(&((LPWININETHTTPREQW)lpwh)->netConnection, lpBuffer,
dwNumOfBytesToRead, 0, (int *)dwNumOfBytesRead))
dwNumOfBytesToRead, MSG_WAITALL, (int *)dwNumOfBytesRead))
{
*dwNumOfBytesRead = 0;
retval = TRUE; /* Under windows, it seems to return 0 even if nothing was read... */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment