summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-02-23 08:33:04 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-02-23 08:33:04 -0800
commit830ce053ff5e4f3175bfa59539536b72a847739c (patch)
tree3fa1cd022173a89ed07911e2386d26e1923f0c08
parenta06b486b62d35ac6aca7ecad92226da5d34196a5 (diff)
unifdef -UCRAY
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xhost.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xhost.c b/xhost.c
index 69d2a41..f48d9ef 100644
--- a/xhost.c
+++ b/xhost.c
@@ -745,12 +745,6 @@ get_hostname(XHostAddress *ha)
}
#else
if (ha->family == FamilyInternet) {
-#ifdef CRAY
- struct in_addr t_addr;
- bzero((char *)&t_addr, sizeof(t_addr));
- bcopy(ha->address, (char *)&t_addr, 4);
- ha->address = (char *)&t_addr;
-#endif
/* gethostbyaddr can take a LONG time if the host does not exist.
Assume that if it does not respond in NAMESERVER_TIMEOUT seconds
that something is wrong and do not make the user wait.