wininet: Return NULL instead of FALSE in get_proxy_autoconfig_url.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2016-05-20 14:10:14 +02:00 committed by Alexandre Julliard
parent a940ab325a
commit b72c2e85b4

View File

@ -2292,12 +2292,12 @@ static WCHAR *get_proxy_autoconfig_url(void)
SIZE_T len; SIZE_T len;
const void *ref; const void *ref;
if (!settings) return FALSE; if (!settings) return NULL;
if (!(ref = CFDictionaryGetValue( settings, kCFNetworkProxiesProxyAutoConfigURLString ))) if (!(ref = CFDictionaryGetValue( settings, kCFNetworkProxiesProxyAutoConfigURLString )))
{ {
CFRelease( settings ); CFRelease( settings );
return FALSE; return NULL;
} }
len = CFStringGetLength( ref ); len = CFStringGetLength( ref );
if (len) if (len)