[pkg-wine-party] [SCM] Debian Wine packaging branch, lenny, updated. wine-1.0.0-1-126-gccc5cbd
Alexandre Julliard
julliard at winehq.org
Thu Oct 30 14:43:43 UTC 2008
The following commit has been merged in the lenny branch:
commit 0520cbb48b09749123161021ce905c8a9ba85a2b
Author: Hans Leidekker <hans at it.vu.nl>
Date: Mon Jun 23 20:57:46 2008 +0200
wininet: Clear last error upon successful return from HttpSendRequest.
(cherry picked from commit 3434935f44eadecae1e8aa11d08142a40b671978)
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index b973a79..7be8214 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -3165,9 +3165,6 @@ BOOL WINAPI HTTP_HttpSendRequestW(LPWININETHTTPREQW lpwhr, LPCWSTR lpszHeaders,
assert(lpwhr->hdr.htype == WH_HHTTPREQ);
- /* Clear any error information */
- INTERNET_SetLastError(0);
-
/* if the verb is NULL default to GET */
if (!lpwhr->lpszVerb)
lpwhr->lpszVerb = WININET_strdupW(szGET);
@@ -3409,6 +3406,7 @@ lend:
sizeof(INTERNET_ASYNC_RESULT));
TRACE("<--\n");
+ if (bSuccess) INTERNET_SetLastError(ERROR_SUCCESS);
return bSuccess;
}
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list