summaryrefslogtreecommitdiff
path: root/lib/gtls.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-11-08 04:03:11 +0100
committerYang Tse <yangsita@gmail.com>2010-11-08 04:03:11 +0100
commitdc3e7df1c99c2ee9dae06453adbb94fe9584bf75 (patch)
tree6578bc549399f347ce0b196154cd4028a29cdf6a /lib/gtls.c
parent1171bc5c8aff58b337f180a443cd39a30150bfc6 (diff)
downloadcurl-dc3e7df1c99c2ee9dae06453adbb94fe9584bf75.tar.gz
fix compiler warning
Diffstat (limited to 'lib/gtls.c')
-rw-r--r--lib/gtls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gtls.c b/lib/gtls.c
index 99be073a0..fca2a7e7d 100644
--- a/lib/gtls.c
+++ b/lib/gtls.c
@@ -196,7 +196,7 @@ static CURLcode handshake(struct connectdata *conn,
int rc;
int what;
- while(1) {
+ for(;;) {
/* check allowed time left */
timeout_ms = Curl_timeleft(conn, NULL, duringconnect);