summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/resolv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 973b787ec..c2ff58242 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -1696,6 +1696,7 @@ int gethostent_r(struct hostent *result_buf, char *buf, size_t buflen,
__open_etc_hosts(&__gethostent_fp);
if (__gethostent_fp == NULL) {
*result=NULL;
+ ret=TRY_AGAIN;
goto DONE;
}
}