diff options
author | Adam Jackson <ajax@redhat.com> | 2011-02-21 12:44:06 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-03-16 23:45:38 -0400 |
commit | cc199c31465b258032bdb9083879699202db7ee9 (patch) | |
tree | ee7aab5d547f90b879d34bf0bd06e517f7603c48 /Xtrans.c | |
parent | 91620213d2bd75fe322df06c5b6f55b85a10e55a (diff) |
Remove a decnet leftover
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'Xtrans.c')
-rw-r--r-- | Xtrans.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -282,22 +282,6 @@ TRANS(ParseAddress) (char *address, char **protocol, char **host, char **port) return 0; } - /* Check for DECnet */ - - if ((mybuf != _host) && (*(mybuf - 1) == ':') -#if defined(IPv6) && defined(AF_INET6) - /* An IPv6 address can end in :: so three : in a row is assumed to be - an IPv6 host and not a DECnet node with a : in it's name, unless - DECnet is specifically requested */ - && ( ((mybuf - 1) == _host) || (*(mybuf - 2) != ':') || - ((_protocol != NULL) && (strcmp(_protocol, "dnet") == 0)) ) -#endif - ) - { - _protocol = "dnet"; - *(mybuf - 1) = '\0'; - } - *mybuf ++= '\0'; _host_len = strlen(_host); |