diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-30 13:02:31 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-30 13:02:31 +0000 |
commit | 7ea837a18c7d22c790daf2733eaffcc5450b1bd9 (patch) | |
tree | 9141b1083ea27c071e90118f60d8e6be34fee058 /lib/http.c | |
parent | b8b8473b6d1c9fc3b70a4326f25cdde902f110cc (diff) |
adjusted to the new dns cache function to hide more hostip internals
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/http.c b/lib/http.c index a7961cba5..41b1ef7c4 100644 --- a/lib/http.c +++ b/lib/http.c @@ -398,17 +398,14 @@ CURLcode Curl_http_auth(struct connectdata *conn, *availp |= CURLAUTH_DIGEST; if(data->state.authwant == CURLAUTH_DIGEST) { /* Digest authentication is activated */ - CURLdigest dig = CURLDIGEST_BAD; - - if(data->state.digest.nonce) - infof(data, "Authentication problem. Ignoring this.\n"); - else - dig = Curl_input_digest(conn, start); + CURLdigest dig = Curl_input_digest(conn, start); if(CURLDIGEST_FINE == dig) /* We act on it. Store our new url, which happens to be the same one we already use! */ conn->newurl = strdup(data->change.url); /* clone string */ + else + infof(data, "Authentication problem. Ignoring this.\n"); } else if(data->state.authwant & CURLAUTH_DIGEST) { |