http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0603559
)
wininet: A->W bugfix.
author
Aric Stewart
<aric@codeweavers.com>
Thu, 8 Dec 2005 10:54:24 +0000
(11:54 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Thu, 8 Dec 2005 10:54:24 +0000
(11:54 +0100)
When converting SendRequestExA -> W we need to set the lpcszHeader
parameter to NULL if the original one is NULL.
dlls/wininet/http.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/wininet/http.c
b/dlls/wininet/http.c
index f234530ea56daac405603d119ac02ff7f8b87b08..ffa5414d39845d90fd8c4de2f5a2c5ae32a7ed42 100644
(file)
--- a/
dlls/wininet/http.c
+++ b/
dlls/wininet/http.c
@@
-1532,6
+1532,8
@@
BOOL WINAPI HttpSendRequestExA(HINTERNET hRequest,
lpBuffersIn->lpcszHeader, lpBuffersIn->dwHeadersLength,
(LPWSTR)BuffersInW.lpcszHeader, headerlen);
}
+ else
+ BuffersInW.lpcszHeader = NULL;
BuffersInW.dwHeadersTotal = lpBuffersIn->dwHeadersTotal;
BuffersInW.lpvBuffer = lpBuffersIn->lpvBuffer;
BuffersInW.dwBufferLength = lpBuffersIn->dwBufferLength;