Commit d30cec77 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

wininet: A->W bugfix.

When converting SendRequestExA -> W we need to set the lpcszHeader parameter to NULL if the original one is NULL.
parent 0603559d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment