diff options
author | 2000-02-21 04:14:09 +0000 | |
---|---|---|
committer | 2000-02-21 04:14:09 +0000 | |
commit | 5e12daf35a1403c572dadd0f45a124e7e736eaba (patch) | |
tree | c99cd435ba7a2ecfa190d21a2484d08cad2ab86f /lib/libc | |
parent | Add CLEANFILES and modify clean/cleandir targets. (diff) | |
download | wireguard-openbsd-5e12daf35a1403c572dadd0f45a124e7e736eaba.tar.xz wireguard-openbsd-5e12daf35a1403c572dadd0f45a124e7e736eaba.zip |
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 |