From: Daniel Stenberg Date: Tue, 12 May 2009 07:38:31 +0000 (+0000) Subject: make no proxy set return OK from Curl_connected_proxy() since it will be called X-Git-Tag: curl-7_19_5~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=611b3584d69c74914eabd1c77f26ac1a82bcbd1f;p=curl make no proxy set return OK from Curl_connected_proxy() since it will be called unconditionally --- diff --git a/lib/url.c b/lib/url.c index 1395998d0..ee67578bd 100644 --- a/lib/url.c +++ b/lib/url.c @@ -2853,9 +2853,7 @@ CURLcode Curl_connected_proxy(struct connectdata *conn) /* do nothing here. handled later. */ break; default: - failf(data, "unknown proxytype option given"); - result = CURLE_COULDNT_CONNECT; - break; + break; } /* switch proxytype */ return result;