diff options
author | ume <ume@FreeBSD.org> | 2005-04-29 17:36:54 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2005-04-29 17:36:54 +0000 |
commit | a63da374584b9b7edef7e959555e8c7f6be46187 (patch) | |
tree | b0f54c0464c6b5742b0bfcccfdb1545b3cb2f0c5 /lib/libc/net/getnetbyht.c | |
parent | 5b818d6be05c5493c221aef9f0499efccae64a88 (diff) | |
download | FreeBSD-src-a63da374584b9b7edef7e959555e8c7f6be46187.zip FreeBSD-src-a63da374584b9b7edef7e959555e8c7f6be46187.tar.gz |
NETDB_INTERNAL is not fit, here. return NO_RECOVERY for h_errno.
Diffstat (limited to 'lib/libc/net/getnetbyht.c')
-rw-r--r-- | lib/libc/net/getnetbyht.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/getnetbyht.c b/lib/libc/net/getnetbyht.c index 716deec..fb6ee4d 100644 --- a/lib/libc/net/getnetbyht.c +++ b/lib/libc/net/getnetbyht.c @@ -111,7 +111,7 @@ again: *cp++ = '\0'; len = strlen(p) + 1; if (ep - bp < len) { - h_errno = NETDB_INTERNAL; + h_errno = NO_RECOVERY; return -1; } strlcpy(bp, p, ep - bp); |