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:
Bastien Nocera
2017-01-03 16:19:56 +01:00
committed by Philip Withnall
parent 88366621ee
commit 5f2c20e88b
4 changed files with 19 additions and 19 deletions

View File

@@ -26,7 +26,8 @@ G_BEGIN_DECLS
gboolean _g_uri_parse_authority (const char *uri,
char **host,
guint16 *port,
char **userinfo);
char **userinfo,
GError **error);
gchar * _g_uri_from_authority (const gchar *protocol,
const gchar *host,
guint port,