[vinagre/gnome-3-18] Revert "Accept IPv6 addresses"
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vinagre/gnome-3-18] Revert "Accept IPv6 addresses"
- Date: Mon, 19 Oct 2015 08:46:37 +0000 (UTC)
commit 92b5187d5747f991fcaeffde93cdcc37ca8e212c
Author: David King <amigadave amigadave com>
Date: Mon Oct 19 09:46:26 2015 +0100
Revert "Accept IPv6 addresses"
This reverts commit 1b2df81a539dbdb629466cd1f670545d1b4768d6.
vinagre/vinagre-connection.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/vinagre/vinagre-connection.c b/vinagre/vinagre-connection.c
index 812ae92..3a3b9ac 100644
--- a/vinagre/vinagre-connection.c
+++ b/vinagre/vinagre-connection.c
@@ -582,7 +582,6 @@ vinagre_connection_split_string (const gchar *uri,
gchar **server, **url;
gint lport;
gchar *lhost;
- gboolean is_ipv6;
gchar ipv6_host[255] = {0,};
VinagreProtocol *ext;
@@ -619,11 +618,6 @@ vinagre_connection_split_string (const gchar *uri,
return FALSE;
}
- is_ipv6 = g_strstr_len (lhost, -1, ":") != NULL;
-
- if (is_ipv6)
- lhost = g_strconcat ("[", lhost, "]", NULL);
-
if (lhost[0] == '[')
{
int i;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]