The NTLM functions now take a 'proxy' argument as well.

This commit is contained in:
Daniel Stenberg 2003-07-22 09:58:57 +00:00
parent 6f2a4d290f
commit fb731eb3e7
2 changed files with 2 additions and 2 deletions

View 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);

View 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 */