summaryrefslogtreecommitdiff
path: root/lib/socks_sspi.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-09-06 20:51:30 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-09-06 20:51:30 +0200
commit2e7d2c8f7497d8eca30be1b98c9d0c80ef26e55f (patch)
treecbf33c4ee8caf1a45cb6c5081301f676a16d81e7 /lib/socks_sspi.c
parent3a0b64489f1ae721d6647fa4fc90b7dbb91dd387 (diff)
downloadcurl-2e7d2c8f7497d8eca30be1b98c9d0c80ef26e55f.tar.gz
SOCKS: truly disable it if CURL_DISABLE_PROXY is defined
Bug: http://curl.haxx.se/bug/view.cgi?id=3561305 Patch by: Marcel Raad
Diffstat (limited to 'lib/socks_sspi.c')
-rw-r--r--lib/socks_sspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/socks_sspi.c b/lib/socks_sspi.c
index edebf7a47..6e95e3c35 100644
--- a/lib/socks_sspi.c
+++ b/lib/socks_sspi.c
@@ -23,7 +23,7 @@
#include "setup.h"
-#ifdef USE_WINDOWS_SSPI
+#if defined(USE_WINDOWS_SSPI) && !defined(CURL_DISABLE_PROXY)
#include "urldata.h"
#include "sendf.h"