Yang Tse: removes GOPHER protocol when HTTP is disabled

This commit is contained in:
Daniel Stenberg 2005-11-24 20:37:13 +00:00
parent 2f684351bf
commit 8a246a4a9f

View File

@ -310,6 +310,10 @@ typedef int curl_socket_t;
#endif
#endif
#if defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_GOPHER)
#define CURL_DISABLE_GOPHER
#endif
#ifdef CURLDEBUG
#define DEBUGF(x) x
#else