Commit d943ffa6 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

winhttp: Fix logic inversion bug in setting disable flags.

Spotted by Jeremy White.
parent 4a706aae
...@@ -400,7 +400,7 @@ static BOOL request_set_option( object_header_t *hdr, DWORD option, LPVOID buffe ...@@ -400,7 +400,7 @@ static BOOL request_set_option( object_header_t *hdr, DWORD option, LPVOID buffe
} }
TRACE("0x%x\n", disable); TRACE("0x%x\n", disable);
hdr->disable_flags &= disable; hdr->disable_flags |= disable;
return TRUE; return TRUE;
} }
case WINHTTP_OPTION_AUTOLOGON_POLICY: case WINHTTP_OPTION_AUTOLOGON_POLICY:
......
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