Commit 8a246a4a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Yang Tse: removes GOPHER protocol when HTTP is disabled

parent 2f684351
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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