[1/3] winhttp: Fix sending data with synchronous requests.
Hans Leidekker
hans at codeweavers.com
Wed Nov 9 08:04:41 CST 2011
---
dlls/winhttp/request.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index 0d9e60a..899e8b5 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -2931,9 +2931,9 @@ static HRESULT WINAPI winhttp_request_Send(
LeaveCriticalSection( &request->cs );
return S_OK;
}
+ request->data = body;
if (request->wait) /* async request */
{
- request->data = body;
if (!(request->thread = CreateThread( NULL, 0, send_and_receive_proc, request, 0, NULL )))
{
LeaveCriticalSection( &request->cs );
--
1.7.5.4
More information about the wine-patches
mailing list