Re: WININET: take account of dwHeaderLength in HttpSendRequest
3 Aug
2004
3 Aug
'04
12:31 p.m.
"Mike McCormack" <mike(a)codeweavers.com> wrote:
ChangeLog: * take account of dwHeaderLength in HttpSendRequest
- len = strlenW(lpszHeaders)+3; - szCookedHeaders = HeapAlloc( GetProcessHeap(), 0, sizeof(WCHAR)*len ); - strcpyW( szCookedHeaders, lpszHeaders ); + if( dwHeaderLength < 0 ) + len = strlenW(lpszHeaders); + else + len = dwHeaderLength;
(dwHeaderLength < 0) is an always true condition, since dwHeaderLength is DWORD, i.e. unsigned long. -- Dmitry.
7804
Age (days ago)
7804
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov