From 898531de80511662ffa61bd93189870bf09ac905 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Thu, 1 Jul 2010 13:10:46 +0200 Subject: [PATCH] wininet: Remove get_avail_data check from HTTPREQ_ReadFileExA. --- dlls/wininet/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 4b4bc5bbfd5..54895bb1314 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -2160,7 +2160,7 @@ static DWORD HTTPREQ_ReadFileExA(object_header_t *hdr, INTERNET_BUFFERSA *buffer INTERNET_SendCallback(&req->hdr, req->hdr.dwContext, INTERNET_STATUS_RECEIVING_RESPONSE, NULL, 0); - if ((hdr->dwFlags & INTERNET_FLAG_ASYNC) && !get_avail_data(req)) + if (hdr->dwFlags & INTERNET_FLAG_ASYNC) { WORKREQUEST workRequest;