projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e0caf7
)
prevent compiler warning
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 30 Aug 2002 11:10:50 +0000
(11:10 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 30 Aug 2002 11:10:50 +0000
(11:10 +0000)
lib/hostip.c
patch
|
blob
|
history
diff --git
a/lib/hostip.c
b/lib/hostip.c
index 5a173990bbed61096f6084d540b70d8fdbbdf6a1..cb63b4e1f9929d517d91ae66bed6170d57fe9ae3 100644
(file)
--- a/
lib/hostip.c
+++ b/
lib/hostip.c
@@
-562,6
+562,7
@@
Curl_addrinfo *Curl_getaddrinfo(struct SessionHandle *data,
memset(buf, 0, CURL_NAMELOOKUP_SIZE);
#ifdef HAVE_GETHOSTBYNAME_R_5
/* Solaris, IRIX and more */
+ (void)res; /* prevent compiler warning */
while(!h) {
h = gethostbyname_r(hostname,
(struct hostent *)buf,