Paul Gofman : winhttp: Remove an extra pending_sends increment in WinHttpWebSocketSend().

Alexandre Julliard julliard at winehq.org
Wed Jan 26 15:57:31 CST 2022


Module: wine
Branch: master
Commit: 7ea8192bb497283638f262c3a8597d8fa8c42b5a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7ea8192bb497283638f262c3a8597d8fa8c42b5a

Author: Paul Gofman <pgofman at codeweavers.com>
Date:   Wed Jan 26 15:25:24 2022 +0100

winhttp: Remove an extra pending_sends increment in WinHttpWebSocketSend().

Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winhttp/request.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index 279e0522166..cbfe2b21bd0 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -3375,7 +3375,6 @@ DWORD WINAPI WinHttpWebSocketSend( HINTERNET hsocket, WINHTTP_WEB_SOCKET_BUFFER_
                 release_object( &socket->hdr );
                 free( s );
             }
-            else ++socket->hdr.pending_sends;
         }
         else
         {




More information about the wine-cvs mailing list