From 830ce053ff5e4f3175bfa59539536b72a847739c Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 23 Feb 2013 08:33:04 -0800 Subject: unifdef -UCRAY Signed-off-by: Alan Coopersmith --- xhost.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'xhost.c') 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. -- cgit v1.2.3