Fixed --disable-proxy for FTP and SOCKS. Thanks to Daniel Egger for reporting

the problem.
This commit is contained in:
Dan Fandrich
2009-01-30 19:29:25 +00:00
parent 5c9fff9c6e
commit 09f4a1c5e5
3 changed files with 12 additions and 4 deletions

View File

@@ -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 */