mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-07 17:54:05 +02:00
GSimpleProxyResolver: fix for the case where the default proxy is NULL
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user