From feaab8d4388f46e34e1d8a914d67ffd2da7022cd Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 28 Mar 2007 19:13:06 +0000 Subject: Warning fix for uninitialized variable, by Al Stone. --- libc/inet/resolv.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/inet') 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; } } -- cgit v1.2.3