OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f211204
)
Warning fix for uninitialized variable, by Al Stone.
author
Rob Landley
<rob@landley.net>
Wed, 28 Mar 2007 19:13:06 +0000
(19:13 -0000)
committer
Rob Landley
<rob@landley.net>
Wed, 28 Mar 2007 19:13:06 +0000
(19:13 -0000)
libc/inet/resolv.c
patch
|
blob
|
history
diff --git
a/libc/inet/resolv.c
b/libc/inet/resolv.c
index
973b787
..
c2ff582
100644
(file)
--- 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;
}
}