]> granicus.if.org Git - curl/commitdiff
Bugfix from Serge Semashko that fixes a bug introduced when we applied his
authorDaniel Stenberg <daniel@haxx.se>
Tue, 12 Aug 2003 08:20:16 +0000 (08:20 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 12 Aug 2003 08:20:16 +0000 (08:20 +0000)
NTLM patch. Test case 84 and 85 verify this.

lib/http.c

index 90dc5a63bf43384a3fcc8a3dc5d0d68d4f1dedfe..e95b40fd97b21631cfc20b0ac81a7b6fa37e1874 100644 (file)
@@ -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);