wine/dlls/wininet http.c

Alexandre Julliard julliard at wine.codeweavers.com
Tue Nov 22 10:18:49 CST 2005


ChangeSet ID:	21405
CVSROOT:	/opt/cvs-commit
Module name:	wine
Changes by:	julliard at winehq.org	2005/11/22 10:18:48

Modified files:
	dlls/wininet   : http.c 

Log message:
	Aric Stewart <aric at codeweavers.com>
	HttpEndRequest does not actually send an extra NULL byte at the end of
	the request. Help from Rob Shearman on this one.

Patch: http://cvs.winehq.org/patch.py?id=21405

Old revision  New revision  Changes     Path
 1.113         1.114         +0 -5       wine/dlls/wininet/http.c

Index: wine/dlls/wininet/http.c
diff -u -p wine/dlls/wininet/http.c:1.113 wine/dlls/wininet/http.c:1.114
--- wine/dlls/wininet/http.c:1.113	22 Nov 2005 16:18:48 -0000
+++ wine/dlls/wininet/http.c	22 Nov 2005 16:18:48 -0000
@@ -596,8 +596,6 @@ BOOL WINAPI HttpEndRequestW(HINTERNET hR
     BOOL rc = FALSE;
     LPWININETHTTPREQW lpwhr;
     INT responseLen;
-    INT cnt;
-    static const char nullbuff[] = "\0";
 
     TRACE("-->\n");
     lpwhr = (LPWININETHTTPREQW) WININET_GetObject( hRequest );
@@ -611,9 +609,6 @@ BOOL WINAPI HttpEndRequestW(HINTERNET hR
     lpwhr->hdr.dwFlags |= dwFlags;
     lpwhr->hdr.dwContext = dwContext;
 
-    /* End the request by sending a NULL byte */
-    rc = NETCON_send(&lpwhr->netConnection, nullbuff, 1, 0, &cnt);
-
     SendAsyncCallback(&lpwhr->hdr, lpwhr->hdr.dwContext,
             INTERNET_STATUS_RECEIVING_RESPONSE, NULL, 0);
 



More information about the wine-cvs mailing list