aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-05-12 07:38:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-05-12 07:38:31 +0000
commit611b3584d69c74914eabd1c77f26ac1a82bcbd1f (patch)
tree137924696900b617701d4cc91326d38f06e70c52
parenta1f13dd31b9766a79d8cf0ed5b3993f881184118 (diff)
make no proxy set return OK from Curl_connected_proxy() since it will be called
unconditionally
-rw-r--r--lib/url.c4
1 files changed, 1 insertions, 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;