diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-17 01:28:36 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-17 01:28:36 +0000 |
commit | b233676db696ec4bb4a9d55e76ec8012e6f7a22c (patch) | |
tree | a19d8729893f4f80cee6bbc7dcb59f93f0a211ac /libc | |
parent | e835d2bf2191ad6082653b15321149966520b65d (diff) |
resolv: fix testcase failure
test/regex/tst-regex2.c: fix testcase to compile with just "gcc <file>.c"
Diffstat (limited to 'libc')
-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)) { |