diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-11-07 09:21:35 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-11-07 09:21:35 +0000 |
commit | cbd1a77ec24e397d05f20c6de106625676343c9d (patch) | |
tree | b92440210b287a25e34293646d26fe124581c767 /lib/hostip4.c | |
parent | 33f7ac06c3aaecf995360323d6f425e769e6fa79 (diff) | |
download | curl-cbd1a77ec24e397d05f20c6de106625676343c9d.tar.gz |
if () => if()
while () => while()
and some other minor re-indentings
Diffstat (limited to 'lib/hostip4.c')
-rw-r--r-- | lib/hostip4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hostip4.c b/lib/hostip4.c index d951e185c..4016227de 100644 --- a/lib/hostip4.c +++ b/lib/hostip4.c @@ -289,7 +289,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, #else h = gethostbyname(hostname); #endif - if (!h) + if(!h) infof(conn->data, "gethostbyname(2) failed for %s\n", hostname); #endif /*HAVE_GETHOSTBYNAME_R */ } @@ -297,7 +297,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, if(h) { ai = Curl_he2ai(h, port); - if (buf) /* used a *_r() function */ + if(buf) /* used a *_r() function */ free(buf); } |