From 611b3584d69c74914eabd1c77f26ac1a82bcbd1f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 12 May 2009 07:38:31 +0000 Subject: [PATCH] make no proxy set return OK from Curl_connected_proxy() since it will be called unconditionally --- lib/url.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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;