mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Fix IPv6 parsing in _g_uri_parse_authority, add _g_uri_from_authority
Fixes connections to IPv6 address literals. https://bugzilla.gnome.org/show_bug.cgi?id=629259
This commit is contained in:
@@ -124,6 +124,10 @@ gboolean _g_uri_parse_authority (const char *uri,
|
||||
char **host,
|
||||
guint16 *port,
|
||||
char **userinfo);
|
||||
gchar * _g_uri_from_authority (const gchar *protocol,
|
||||
const gchar *host,
|
||||
guint port,
|
||||
const gchar *userinfo);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user