diff options
author | Rob Landley <rob@landley.net> | 2007-03-28 19:13:06 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-03-28 19:13:06 +0000 |
commit | feaab8d4388f46e34e1d8a914d67ffd2da7022cd (patch) | |
tree | 7168872d63a93ae49c43cb9af84baad6543f4284 /libc | |
parent | f211204dd3eee466f5f66d06377e1db4a9424ac3 (diff) |
Warning fix for uninitialized variable, by Al Stone.
Diffstat (limited to 'libc')
-rw-r--r-- | libc/inet/resolv.c | 1 |
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; } } |