Gett full buffers in Internet_Readfile

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon Sep 6 03:09:24 CDT 2004


Changelog:
	dlls/wininet/internet.c: Internet_ReadFile 
	Retrieve buffer of requested size by setting MSG_WAITALL for the
	recv call

This lets Xilinx ISE webupdate actually retriev it's update

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/wininet/internet.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/internet.c,v
retrieving revision 1.95
diff -u -w -r1.95 internet.c
--- wine/dlls/wininet/internet.c	19 Aug 2004 19:02:17 -0000	1.95
+++ wine/dlls/wininet/internet.c	4 Sep 2004 22:09:59 -0000
@@ -1632,7 +1632,7 @@
     {
         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... */



More information about the wine-patches mailing list