mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-31 18:00:06 +02:00
GSimpleProxyResolver: fix for the case where the default proxy is NULL
This commit is contained in:
parent
afc0a72575
commit
a44a3cc150
@ -344,6 +344,8 @@ g_simple_proxy_resolver_lookup (GProxyResolver *proxy_resolver,
|
||||
|
||||
if (!proxy)
|
||||
proxy = priv->default_proxy;
|
||||
if (!proxy)
|
||||
proxy = "direct://";
|
||||
|
||||
if (!strncmp (proxy, "socks://", 8))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user