winhttp: Support setting WinHttpRequestOption_EnableRedirects.
Jacek Caban
jacek at codeweavers.com
Wed Aug 24 03:39:57 CDT 2011
Hi Hans,
On 08/24/11 10:23, Hans Leidekker wrote:
> + EnterCriticalSection(&request->cs );
> + switch (option)
> + {
> + case WinHttpRequestOption_EnableRedirects:
> + {
> + if (V_BOOL(&value ) == VARIANT_TRUE)
You shouldn't compare bools like that, it should be if(V_BOOL(&value)).
> + request->disable_feature&= !WINHTTP_DISABLE_REDIRECTS;
Here is a typo, it should be ~WINHTTP_DISABLE_REDIRECTS.
Jacek
More information about the wine-devel
mailing list