diff options
Diffstat (limited to 'lib/libc/net/gethostbyht.c')
-rw-r--r-- | lib/libc/net/gethostbyht.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/gethostbyht.c b/lib/libc/net/gethostbyht.c index efa8269..7024ef2 100644 --- a/lib/libc/net/gethostbyht.c +++ b/lib/libc/net/gethostbyht.c @@ -146,7 +146,7 @@ gethostent_r(struct hostent *he, struct hostent_data *hed) *p++ = '\0'; len = strlen(cp) + 1; if (ep - bp < len) { - h_errno = NETDB_INTERNAL; + h_errno = NO_RECOVERY; return -1; } strlcpy(bp, cp, ep - bp); |