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;
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user