winhttp: Fix logic inversion bug in setting disable flags.
Spotted by Jeremy White.
This commit is contained in:
parent
4a706aae70
commit
d943ffa6f7
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue