Jacek Caban : wininet: Don't use INTERNET_SetLastError in HttpSendRequestA.

Alexandre Julliard julliard at winehq.org
Mon Dec 21 09:39:53 CST 2009


Module: wine
Branch: master
Commit: e1958a67d681ec6b9f9fea48d50200b1ec52cee0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e1958a67d681ec6b9f9fea48d50200b1ec52cee0

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Dec 21 13:58:18 2009 +0100

wininet: Don't use INTERNET_SetLastError in HttpSendRequestA.

---

 dlls/wininet/http.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index aa5a449..882c89b 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -3770,7 +3770,7 @@ BOOL WINAPI HttpEndRequestA(HINTERNET hRequest,
 
     if (lpBuffersOut)
     {
-        INTERNET_SetLastError(ERROR_INVALID_PARAMETER);
+        SetLastError(ERROR_INVALID_PARAMETER);
         return FALSE;
     }
 




More information about the wine-cvs mailing list