gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 151/219: http_negotiate: Don't expose functions whe


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 151/219: http_negotiate: Don't expose functions when HTTP is disabled
Date: Wed, 22 May 2019 19:18:10 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit fb243b0475c2a3a60889120ee3f05380e60645f0
Author: Steve Holme <address@hidden>
AuthorDate: Fri May 10 13:08:04 2019 +0100

    http_negotiate: Don't expose functions when HTTP is disabled
---
 lib/http_negotiate.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/http_negotiate.h b/lib/http_negotiate.h
index d4a7f09e0..1197036b2 100644
--- a/lib/http_negotiate.h
+++ b/lib/http_negotiate.h
@@ -22,7 +22,7 @@
  *
  ***************************************************************************/
 
-#ifdef USE_SPNEGO
+#if !defined(CURL_DISABLE_HTTP) && defined(USE_SPNEGO)
 
 /* this is for Negotiate header input */
 CURLcode Curl_input_negotiate(struct connectdata *conn, bool proxy,
@@ -33,6 +33,6 @@ CURLcode Curl_output_negotiate(struct connectdata *conn, bool 
proxy);
 
 void Curl_cleanup_negotiate(struct connectdata *conn);
 
-#endif /* USE_SPNEGO */
+#endif /* !CURL_DISABLE_HTTP && USE_SPNEGO */
 
 #endif /* HEADER_CURL_HTTP_NEGOTIATE_H */

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



reply via email to

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