From 09f4a1c5e5acddeacb605ce2382fd027e6b50393 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 30 Jan 2009 19:29:25 +0000 Subject: Fixed --disable-proxy for FTP and SOCKS. Thanks to Daniel Egger for reporting the problem. --- lib/socks_gssapi.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/socks_gssapi.c') 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 */ -- cgit v1.2.3