diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-02-23 08:33:04 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-02-23 08:33:04 -0800 |
commit | 830ce053ff5e4f3175bfa59539536b72a847739c (patch) | |
tree | 3fa1cd022173a89ed07911e2386d26e1923f0c08 | |
parent | a06b486b62d35ac6aca7ecad92226da5d34196a5 (diff) |
unifdef -UCRAY
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | xhost.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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. |