From 6d32b72822efd160963eb5988a705f6c2013d0a9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 5 May 2019 17:08:22 +0200 Subject: proxy: acknowledge DISABLE_PROXY more --- lib/url.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/url.c') diff --git a/lib/url.c b/lib/url.c index 8dfdd9860..1daa1b4fd 100644 --- a/lib/url.c +++ b/lib/url.c @@ -866,6 +866,7 @@ static int IsMultiplexingPossible(const struct Curl_easy *handle, return avail; } +#ifndef CURL_DISABLE_PROXY static bool proxy_info_matches(const struct proxy_info* data, const struct proxy_info* needle) @@ -877,6 +878,10 @@ proxy_info_matches(const struct proxy_info* data, return FALSE; } +#else +/* disabled, won't get called */ +#define proxy_info_matches(x,y) FALSE +#endif /* * This function checks if the given connection is dead and extracts it from -- cgit v1.2.3