summaryrefslogtreecommitdiff
path: root/lib/libc/net
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2001-04-21 14:25:50 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2001-04-21 14:25:50 +0000
commit781038bdd10177d8dd115f6308e40ac3a74c78c3 (patch)
tree7739c3159c4c146f555ae6dae66d6c0193e27e58 /lib/libc/net
parentbd44bdf1e9e402d4808037cb41ca37c267cd25a6 (diff)
Notes
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/getaddrinfo.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c
index 0966ba390696..6d307bcdd86d 100644
--- a/lib/libc/net/getaddrinfo.c
+++ b/lib/libc/net/getaddrinfo.c
@@ -78,7 +78,6 @@
* diffs with other KAME platforms:
* - other KAME platforms already nuked FAITH ($GAI), but as FreeBSD
* 4.0-RELEASE supplies it, we still have the code here.
- * - EAI_RESNULL support
* - AI_ADDRCONFIG support is supplied
* - EDNS0 support is not available due to resolver differences
* - some of FreeBSD style (#define tabify and others)
@@ -255,9 +254,6 @@ static char *ai_errlist[] = {
"System error returned in errno", /* EAI_SYSTEM */
"Invalid value for hints", /* EAI_BADHINTS */
"Resolved protocol is unknown", /* EAI_PROTOCOL */
-#ifdef EAI_RESNULL
- "Argument res is NULL", /* EAI_RESNULL */
-#endif
"Unknown error", /* EAI_MAX */
};
@@ -397,10 +393,6 @@ getaddrinfo(hostname, servname, hints, res)
if (hostname == NULL && servname == NULL)
return EAI_NONAME;
-#ifdef EAI_RESNULL
- if (res == NULL)
- return EAI_RESNULL; /* xxx */
-#endif
if (hints) {
/* error check for hints */
if (hints->ai_addrlen || hints->ai_canonname ||