It seems that the HTTP_ONLY macro in curl_setup.h didn't learn about the new SMB/CIFS support and thus doesn't disable it. Attached is a tiny patch against 7.40.0 to make it do this.

--
Brad Spencer

--- curl-7.40.0/lib/curl_setup.h.orig   2014-12-08 10:45:53.000000000 -0400
+++ curl-7.40.0/lib/curl_setup.h        2015-01-26 12:11:58.027075050 -0400
@@ -181,6 +181,9 @@
 #  ifndef CURL_DISABLE_SMTP
 #    define CURL_DISABLE_SMTP
 #  endif
+#  ifndef CURL_DISABLE_SMB
+#    define CURL_DISABLE_SMB
+#  endif
 #  ifndef CURL_DISABLE_RTSP
 #    define CURL_DISABLE_RTSP
 #  endif
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to