aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-08-12 08:20:16 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-08-12 08:20:16 +0000
commita3c12482140ebb7bc9375afc60733219ad935f8d (patch)
tree71dfcf796633f046f831d5fc1f9f961031edd8c8
parentb933639222de5936e48d75302c8bf77dc6b4a23a (diff)
Bugfix from Serge Semashko that fixes a bug introduced when we applied his
NTLM patch. Test case 84 and 85 verify this.
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 90dc5a63b..e95b40fd9 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -731,7 +731,7 @@ CURLcode Curl_http(struct connectdata *conn)
char *request;
if(!data->state.authstage) {
- if(conn->bits.httpproxy)
+ if(conn->bits.httpproxy && conn->bits.proxy_user_passwd)
Curl_http_auth_stage(data, 407);
else
Curl_http_auth_stage(data, 401);