]> granicus.if.org Git - curl/commitdiff
The NTLM functions now take a 'proxy' argument as well.
authorDaniel Stenberg <daniel@haxx.se>
Tue, 22 Jul 2003 09:58:57 +0000 (09:58 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 22 Jul 2003 09:58:57 +0000 (09:58 +0000)
lib/http_ntlm.h
lib/transfer.c

index c1408525af57371eac8242832ec7e698dcbfb8e1..88a248ccd222be335b6e764522660199aff296ee 100644 (file)
@@ -33,7 +33,7 @@ typedef enum {
 } CURLntlm;
 
 /* this is for ntlm header input */
-CURLntlm Curl_input_ntlm(struct connectdata *conn, char *header);
+CURLntlm Curl_input_ntlm(struct connectdata *conn, bool proxy, char *header);
 
 /* this is for creating ntlm header output */
 CURLcode Curl_output_ntlm(struct connectdata *conn, bool proxy);
index 3a6ad2203b2bd6f2d4e03e1bf21cf9c77db42ac8..410c173a2841a25050692061d662e8b83f0588b3 100644 (file)
@@ -754,7 +754,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
                 if(data->state.authwant == CURLAUTH_NTLM) {
                   /* NTLM authentication is activated */
                   CURLntlm ntlm =
-                    Curl_input_ntlm(conn, start);
+                    Curl_input_ntlm(conn, FALSE, start);
                   
                   if(CURLNTLM_BAD != ntlm)
                     conn->newurl = strdup(data->change.url); /* clone string */