gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 63/205: url: don't compile detect_proxy if HTTP sup


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 63/205: url: don't compile detect_proxy if HTTP support is disabled
Date: Thu, 20 Apr 2017 16:20:03 +0200

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

ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.

commit 381aff03857544b05c34f3f095089cd170023978
Author: Dan Fandrich <address@hidden>
AuthorDate: Sat Mar 11 18:01:54 2017 +0100

    url: don't compile detect_proxy if HTTP support is disabled
---
 lib/url.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/url.c b/lib/url.c
index 5943896eb..f9c324269 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -4893,6 +4893,7 @@ static bool check_noproxy(const char *name, const char 
*no_proxy)
   return FALSE;
 }
 
+#ifndef CURL_DISABLE_HTTP
 /****************************************************************
 * Detect what (if any) proxy to use. Remember that this selects a host
 * name and is not limited to HTTP proxies only.
@@ -4962,6 +4963,7 @@ static char *detect_proxy(struct connectdata *conn)
 
   return proxy;
 }
+#endif /* CURL_DISABLE_HTTP */
 
 /*
  * If this is supposed to use a proxy, we need to figure out the proxy

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



reply via email to

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