winhttp: Fix crash when proxy bypass is unset.

This commit is contained in:
Juan Lang 2009-07-21 11:22:03 -07:00 committed by Alexandre Julliard
parent 3305900894
commit 2b460a6c5a

View file

@ -291,6 +291,7 @@ static BOOL should_bypass_proxy(session_t *session, LPCWSTR server)
LPCWSTR ptr;
BOOL ret = FALSE;
if (!session->proxy_bypass) return FALSE;
ptr = session->proxy_bypass;
do {
LPCWSTR tmp = ptr;