gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 164/219: sasl: only enable if there's a protocol en


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 164/219: sasl: only enable if there's a protocol enabled using it
Date: Wed, 22 May 2019 19:18:23 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit e5b546b3397aa4fcd4ae5af71360f98f1b4768b6
Author: Daniel Stenberg <address@hidden>
AuthorDate: Sun May 5 17:08:21 2019 +0200

    sasl: only enable if there's a protocol enabled using it
---
 lib/curl_sasl.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/curl_sasl.c b/lib/curl_sasl.c
index f5d8e8f4b..6707c40c5 100644
--- a/lib/curl_sasl.c
+++ b/lib/curl_sasl.c
@@ -31,6 +31,9 @@
 
 #include "curl_setup.h"
 
+#if !defined(CURL_DISABLE_IMAP) || !defined(CURL_DISABLE_SMTP) || \
+  !defined(CURL_DISABLE_POP3)
+
 #include <curl/curl.h>
 #include "urldata.h"
 
@@ -623,3 +626,4 @@ CURLcode Curl_sasl_continue(struct SASL *sasl, struct 
connectdata *conn,
 
   return result;
 }
+#endif /* protocols are enabled that use SASL */

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]