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:
parent
a940ab325a
commit
b72c2e85b4
|
@ -2292,12 +2292,12 @@ static WCHAR *get_proxy_autoconfig_url(void)
|
|||
SIZE_T len;
|
||||
const void *ref;
|
||||
|
||||
if (!settings) return FALSE;
|
||||
if (!settings) return NULL;
|
||||
|
||||
if (!(ref = CFDictionaryGetValue( settings, kCFNetworkProxiesProxyAutoConfigURLString )))
|
||||
{
|
||||
CFRelease( settings );
|
||||
return FALSE;
|
||||
return NULL;
|
||||
}
|
||||
len = CFStringGetLength( ref );
|
||||
if (len)
|
||||
|
|
Loading…
Reference in New Issue