]> granicus.if.org Git - curl/commitdiff
make no proxy set return OK from Curl_connected_proxy() since it will be called
authorDaniel Stenberg <daniel@haxx.se>
Tue, 12 May 2009 07:38:31 +0000 (07:38 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 12 May 2009 07:38:31 +0000 (07:38 +0000)
unconditionally

lib/url.c

index 1395998d04e3239603d457cd408c34514043c500..ee67578bd9a631f8150d4dfa0914595785c35485 100644 (file)
--- 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;