http.c: handle HTTP_QUERY_CUSTOM
Aric Stewart
aric at codeweavers.com
Wed Dec 7 13:06:45 CST 2005
Agreed, there is another change i need to make also. I will resubmit
this patch.
-aric
Robert Shearman wrote:
> Aric Stewart wrote:
>
>> @@ -1475,6 +1481,9 @@
>>
>> len = (*lpdwBufferLength)*sizeof(WCHAR);
>> bufferW = HeapAlloc( GetProcessHeap(), 0, len );
>> + /* buffer is in/out because of HTTP_QUERY_CUSTOM */
>> + if (dwInfoLevel & HTTP_QUERY_CUSTOM)
>> + MultiByteToWideChar(CP_ACP,0,lpBuffer,-1,bufferW,len);
>> result = HttpQueryInfoW( hHttpRequest, dwInfoLevel, bufferW,
>> &len, lpdwIndex );
>> if( result )
>>
>>
>
> This should be:
> if ((dwInfoLevel & HTTP_QUERY_HEADER_MASK) == HTTP_QUERY_CUSTOM)
>
More information about the wine-patches
mailing list