diff options
author | Yang Tse <yangsita@gmail.com> | 2010-11-08 04:03:11 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-11-08 04:03:11 +0100 |
commit | dc3e7df1c99c2ee9dae06453adbb94fe9584bf75 (patch) | |
tree | 6578bc549399f347ce0b196154cd4028a29cdf6a /lib/hostares.c | |
parent | 1171bc5c8aff58b337f180a443cd39a30150bfc6 (diff) |
fix compiler warning
Diffstat (limited to 'lib/hostares.c')
-rw-r--r-- | lib/hostares.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostares.c b/lib/hostares.c index a00fefa0d..5d54ac1b4 100644 --- a/lib/hostares.c +++ b/lib/hostares.c @@ -234,7 +234,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) { + for(;;) { struct timeval *tvp, tv, store; long timediff; int itimeout; |