gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 39/208: http_proxy: fix compiler warning


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 39/208: http_proxy: fix compiler warning
Date: Wed, 09 Aug 2017 17:33:56 +0200

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

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

commit deff7de0eb0e22d2d142b96b9cc84cd8db5d2a48
Author: Marcel Raad <address@hidden>
AuthorDate: Sun Jun 18 12:53:54 2017 +0200

    http_proxy: fix compiler warning
    
    With CURL_DISABLE_PROXY or CURL_DISABLE_HTTP, GCC complained about a
    missing prototype for Curl_connect_free.
---
 lib/http_proxy.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/http_proxy.c b/lib/http_proxy.c
index e1545ddf4..ac0d18e3c 100644
--- a/lib/http_proxy.c
+++ b/lib/http_proxy.c
@@ -22,11 +22,12 @@
 
 #include "curl_setup.h"
 
+#include "http_proxy.h"
+
 #if !defined(CURL_DISABLE_PROXY) && !defined(CURL_DISABLE_HTTP)
 
 #include "urldata.h"
 #include <curl/curl.h>
-#include "http_proxy.h"
 #include "sendf.h"
 #include "http.h"
 #include "url.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]