diff options
Diffstat (limited to 'libc/inet/resolv.c')
-rw-r--r-- | libc/inet/resolv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c index dc2ae7ba3..6be3a866d 100644 --- a/libc/inet/resolv.c +++ b/libc/inet/resolv.c @@ -1462,9 +1462,9 @@ int attribute_hidden __read_etc_hosts_r( *result = NULL; return errno; } + addr_list[0] = in; + addr_list[1] = NULL; } - addr_list[0] = in; - addr_list[1] = NULL; *h_errnop = HOST_NOT_FOUND; while (fgets(buf, buflen, fp)) { |