summaryrefslogtreecommitdiff
path: root/lib/http_digest.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-09-10 09:22:33 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-09-12 16:29:05 +0200
commit2c1b4e74e407bb729cdf7c522d0fe0c94f97963c (patch)
tree021e62c709baee637775725a78f7ff29b08619b6 /lib/http_digest.c
parentaca67e2775b63cf558f2bab10cf52264e554f1e5 (diff)
downloadcurl-2c1b4e74e407bb729cdf7c522d0fe0c94f97963c.tar.gz
digest: make it clear the condition is always true
Diffstat (limited to 'lib/http_digest.c')
-rw-r--r--lib/http_digest.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/http_digest.c b/lib/http_digest.c
index ff3871c9f..be40fc7fe 100644
--- a/lib/http_digest.c
+++ b/lib/http_digest.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -129,7 +129,6 @@ CURLdigest Curl_input_digest(struct connectdata *conn,
const char *header) /* rest of the *-authenticate:
header */
{
- bool more = TRUE;
char *token = NULL;
char *tmp = NULL;
bool foundAuth = FALSE;
@@ -159,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(more) {
+ while(1) {
char value[MAX_VALUE_LENGTH];
char content[MAX_CONTENT_LENGTH];