aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2011-08-09 22:53:48 +0200
committerYang Tse <yangsita@gmail.com>2011-08-09 22:57:22 +0200
commit5ed17de326765d4e18b7886b046b0c2f9ab363cb (patch)
tree6759560cd4bd8a517947f26b2fbdde31eec7a1a5 /lib/url.c
parent209cf2df373de3129b111b4f29a3733d8bcc4f6c (diff)
http NTLM: Tidied up http_ntlm prior to splitting the ntlm specific code
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 400ceffde..5f0be160c 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2617,7 +2617,9 @@ CURLcode Curl_disconnect(struct connectdata *conn, bool dead_connection)
if(has_host_ntlm || has_proxy_ntlm) {
data->state.authproblem = FALSE;
- Curl_ntlm_cleanup(conn);
+#ifdef USE_NTLM
+ Curl_http_ntlm_cleanup(conn);
+#endif
}
}