fix compiler warning

This commit is contained in:
Yang Tse
2010-11-08 04:03:11 +01:00
parent 1171bc5c8a
commit dc3e7df1c9
8 changed files with 14 additions and 13 deletions

View File

@@ -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;