summaryrefslogtreecommitdiff
path: root/lib/socks_gssapi.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2009-01-30 19:29:25 +0000
committerDan Fandrich <dan@coneharvesters.com>2009-01-30 19:29:25 +0000
commit09f4a1c5e5acddeacb605ce2382fd027e6b50393 (patch)
tree7494d205fcaef9f7984baf6cf3de1ac07a517160 /lib/socks_gssapi.c
parent5c9fff9c6e72268f9d09d16de6d3021b16f9e42c (diff)
downloadcurl-09f4a1c5e5acddeacb605ce2382fd027e6b50393.tar.gz
Fixed --disable-proxy for FTP and SOCKS. Thanks to Daniel Egger for reporting
the problem.
Diffstat (limited to 'lib/socks_gssapi.c')
-rw-r--r--lib/socks_gssapi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/socks_gssapi.c b/lib/socks_gssapi.c
index cd9e1a4d3..d948168d4 100644
--- a/lib/socks_gssapi.c
+++ b/lib/socks_gssapi.c
@@ -23,6 +23,8 @@
#include "setup.h"
+#ifndef CURL_DISABLE_PROXY
+
#ifdef HAVE_GSSAPI
#ifdef HAVE_OLD_GSSMIT
#define GSS_C_NT_HOSTBASED_SERVICE gss_nt_service_name
@@ -545,3 +547,5 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
return CURLE_OK;
}
#endif
+
+#endif /* CURL_DISABLE_PROXY */