diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-02-21 04:14:10 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-02-21 04:14:10 +0000 |
commit | 6ac843d514ed2184f564747410f1cb94644f95af (patch) | |
tree | b7345f52fe4d78828d241be832f8c5f30398b6c4 /lib/libc | |
parent | 8dbcaede9340d4fe659c266dc5516800d3f63e6c (diff) |
remove extra #ifdef (USE_GETIPNODEBY)
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/net/getaddrinfo.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c index cebcc45c7bc..823b21b2b37 100644 --- a/lib/libc/net/getaddrinfo.c +++ b/lib/libc/net/getaddrinfo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getaddrinfo.c,v 1.13 2000/02/17 17:09:40 itojun Exp $ */ +/* $OpenBSD: getaddrinfo.c,v 1.14 2000/02/21 04:14:09 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -573,10 +573,6 @@ explore_fqdn(pai, hostname, servname, res) return 0; free: -#ifdef USE_GETIPNODEBY - if (hp) - freehostent(hp); -#endif if (aplist) free(aplist); if (apbuf) @@ -951,9 +947,6 @@ static int addrconfig(pai) const struct addrinfo *pai; { -#ifdef USE_GETIPNODEBY - return 1; -#else int s; /* XXX errno */ @@ -962,7 +955,6 @@ addrconfig(pai) return 0; close(s); return 1; -#endif } #endif |