aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-03-31 20:46:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-03-31 20:46:47 +0000
commitd27813c2ddde89cbf95b19e782ce7eeefc0b8179 (patch)
tree2c2118370e43bd7f08747ddf7d51e7b874f36cce
parent453e9b0dcec46262e163c6cd24094a900d1cdb46 (diff)
*** empty log message ***
-rw-r--r--lib/transfer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 57afd6636..c6a6f094c 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -768,8 +768,8 @@ CURLcode Curl_readwrite(struct connectdata *conn,
* are definitely errors, so give up here.
*/
if (data->set.http_fail_on_error && (k->httpcode >= 400) &&
- ((k->httpcode != 401) || !data->set.userpwd) &&
- ((k->httpcode != 407) || !data->set.proxyuserpwd) ) {
+ ((k->httpcode != 401) || !conn->bits.user_passwd) &&
+ ((k->httpcode != 407) || !conn->bits.proxy_user_passwd) ) {
if (data->reqdata.resume_from &&
(data->set.httpreq==HTTPREQ_GET) &&