summaryrefslogtreecommitdiff
path: root/lib/http_digest.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/http_digest.c
parent1171bc5c8aff58b337f180a443cd39a30150bfc6 (diff)
downloadcurl-dc3e7df1c99c2ee9dae06453adbb94fe9584bf75.tar.gz
fix compiler warning
Diffstat (limited to 'lib/http_digest.c')
-rw-r--r--lib/http_digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http_digest.c b/lib/http_digest.c
index be40fc7fe..45d8aeba8 100644
--- a/lib/http_digest.c
+++ b/lib/http_digest.c
@@ -158,7 +158,7 @@ CURLdigest Curl_input_digest(struct connectdata *conn,
/* clear off any former leftovers and init to defaults */
Curl_digest_cleanup_one(d);
- while(1) {
+ for(;;) {
char value[MAX_VALUE_LENGTH];
char content[MAX_CONTENT_LENGTH];