diff options
Diffstat (limited to 'lib/hostares.c')
| -rw-r--r-- | lib/hostares.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/lib/hostares.c b/lib/hostares.c index 6a70c8276..fe842d1db 100644 --- a/lib/hostares.c +++ b/lib/hostares.c @@ -244,7 +244,7 @@ CURLcode Curl_wait_for_resolv(struct connectdata *conn,      timeout = CURL_TIMEOUT_RESOLVE * 1000; /* default name resolve timeout */    /* Wait for the name resolve query to complete. */ -  while (1) { +  while(1) {      struct timeval *tvp, tv, store;      struct timeval now = Curl_tvnow();      long timediff; @@ -262,7 +262,7 @@ CURLcode Curl_wait_for_resolv(struct connectdata *conn,      timediff = Curl_tvdiff(Curl_tvnow(), now); /* spent time */      timeout -= timediff?timediff:1; /* always deduct at least 1 */ -    if (timeout < 0) { +    if(timeout < 0) {        /* our timeout, so we cancel the ares operation */        ares_cancel(data->state.areschannel);        break; @@ -316,7 +316,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,    *waitp = FALSE; -  if (in != CURL_INADDR_NONE) { +  if(in != CURL_INADDR_NONE) {      /* This is a dotted IP address 123.123.123.123-style */      return Curl_ip2addr(in, hostname, port);    } | 
