Yang Tse: removes GOPHER protocol when HTTP is disabled
authorDaniel Stenberg <daniel@haxx.se>
Thu, 24 Nov 2005 20:37:13 +0000 (20:37 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 24 Nov 2005 20:37:13 +0000 (20:37 +0000)
lib/setup.h

index 2c74f51..15c5a12 100644 (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