winhttp: Fix logic inversion bug in setting disable flags.

Spotted by Jeremy White.
This commit is contained in:
Hans Leidekker 2008-09-16 12:32:11 +02:00 committed by Alexandre Julliard
parent 4a706aae70
commit d943ffa6f7
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ static BOOL request_set_option( object_header_t *hdr, DWORD option, LPVOID buffe
}
TRACE("0x%x\n", disable);
hdr->disable_flags &= disable;
hdr->disable_flags |= disable;
return TRUE;
}
case WINHTTP_OPTION_AUTOLOGON_POLICY: