summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/resolv.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index ae99ea068..fa7ba37fe 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -1578,6 +1578,11 @@ int gethostbyname_r(const char * name,
case HOST_NOT_FOUND:
case NO_ADDRESS:
break;
+ case NETDB_INTERNAL:
+ if (errno == ENOENT) {
+ break;
+ }
+ /* else fall through */
default:
return i;
}