aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-07-27 21:44:43 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-07-27 21:44:43 +0000
commit463c0f7096f7a0e56929a8e1b4fb3c38e164ce13 (patch)
tree95d6a6639bf2a78dc47acf845e14c7c8e5916602
parente49a7e361c91771fc8650ff97ad97fc0a334ecc8 (diff)
disabling HTTP should also nullify this function call
-rw-r--r--lib/http_ntlm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/http_ntlm.h b/lib/http_ntlm.h
index a2e1fc307..c4e669ba1 100644
--- a/lib/http_ntlm.h
+++ b/lib/http_ntlm.h
@@ -39,7 +39,8 @@ CURLntlm Curl_input_ntlm(struct connectdata *conn, bool proxy, char *header);
CURLcode Curl_output_ntlm(struct connectdata *conn, bool proxy);
void Curl_ntlm_cleanup(struct connectdata *conn);
-#if !defined(USE_SSLEAY) && !defined(USE_WINDOWS_SSPI)
+#if (!defined(USE_SSLEAY) && !defined(USE_WINDOWS_SSPI)) || \
+ defined(CURL_DISABLE_HTTP)
#define Curl_ntlm_cleanup(x)
#endif