aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-07-22 09:58:57 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-07-22 09:58:57 +0000
commitfb731eb3e749d5a69bc61c827b902f1afea90f9e (patch)
treeb75bbe747eb37bb0c207af0ed2b790437c6ba73f /lib
parent6f2a4d290fd0ebe3bf5bed7bb11fd0891323cec9 (diff)
The NTLM functions now take a 'proxy' argument as well.
Diffstat (limited to 'lib')
-rw-r--r--lib/http_ntlm.h2
-rw-r--r--lib/transfer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/http_ntlm.h b/lib/http_ntlm.h
index c1408525a..88a248ccd 100644
--- a/lib/http_ntlm.h
+++ b/lib/http_ntlm.h
@@ -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);
diff --git a/lib/transfer.c b/lib/transfer.c
index 3a6ad2203..410c173a2 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -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 */