aboutsummaryrefslogtreecommitdiff
path: root/lib/http_proxy.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-06-15 23:57:31 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-06-16 00:02:57 +0200
commit0d39e5cc95177b0255c32b24b9907dd67bf56252 (patch)
tree7148fb9c1553cd4b25d3b19a8af857163124cfb9 /lib/http_proxy.c
parent7e8247c46728c8fd60659502be9106154c6ebc91 (diff)
http-proxy: fix build with --disable-proxy or --disable-http
Reported-by: Dan Fandrich
Diffstat (limited to 'lib/http_proxy.c')
-rw-r--r--lib/http_proxy.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/http_proxy.c b/lib/http_proxy.c
index cd5e7c269..380eded2e 100644
--- a/lib/http_proxy.c
+++ b/lib/http_proxy.c
@@ -677,5 +677,10 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn,
return result;
}
+#else
+void Curl_connect_free(struct Curl_easy *data)
+{
+ (void)data;
+}
#endif /* CURL_DISABLE_PROXY */