From fb731eb3e749d5a69bc61c827b902f1afea90f9e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 22 Jul 2003 09:58:57 +0000 Subject: [PATCH] The NTLM functions now take a 'proxy' argument as well. --- lib/http_ntlm.h | 2 +- lib/transfer.c | 2 +- 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 */