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;