mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 02:47:52 +02:00
networkaddress: Return an error from _g_uri_parse_authority()
So that errors can be propagated if necessary. https://bugzilla.gnome.org/show_bug.cgi?id=772989
This commit is contained in:
committed by
Philip Withnall
parent
88366621ee
commit
5f2c20e88b
@@ -329,7 +329,7 @@ g_simple_proxy_resolver_lookup (GProxyResolver *proxy_resolver,
|
||||
gchar *host = NULL;
|
||||
gushort port;
|
||||
|
||||
if (_g_uri_parse_authority (uri, &host, &port, NULL) &&
|
||||
if (_g_uri_parse_authority (uri, &host, &port, NULL, NULL) &&
|
||||
ignore_host (resolver, host, port))
|
||||
proxy = "direct://";
|
||||
|
||||
|
Reference in New Issue
Block a user