digest: make it clear the condition is always true
This commit is contained in:
parent
aca67e2775
commit
2c1b4e74e4
@ -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
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* 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:
|
const char *header) /* rest of the *-authenticate:
|
||||||
header */
|
header */
|
||||||
{
|
{
|
||||||
bool more = TRUE;
|
|
||||||
char *token = NULL;
|
char *token = NULL;
|
||||||
char *tmp = NULL;
|
char *tmp = NULL;
|
||||||
bool foundAuth = FALSE;
|
bool foundAuth = FALSE;
|
||||||
@ -159,7 +158,7 @@ CURLdigest Curl_input_digest(struct connectdata *conn,
|
|||||||
/* clear off any former leftovers and init to defaults */
|
/* clear off any former leftovers and init to defaults */
|
||||||
Curl_digest_cleanup_one(d);
|
Curl_digest_cleanup_one(d);
|
||||||
|
|
||||||
while(more) {
|
while(1) {
|
||||||
char value[MAX_VALUE_LENGTH];
|
char value[MAX_VALUE_LENGTH];
|
||||||
char content[MAX_CONTENT_LENGTH];
|
char content[MAX_CONTENT_LENGTH];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user