]> granicus.if.org Git - curl/commitdiff
Remove redundant conditional
authorDan Fandrich <dan@coneharvesters.com>
Wed, 7 Apr 2010 05:57:20 +0000 (22:57 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Thu, 15 Apr 2010 17:51:03 +0000 (10:51 -0700)
lib/url.c

index 357f213c07e21cef64f6e3c10579adff64b7ff13..6dc267204aba8d506f83b1e47db7d3dcc1446b06 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -4707,7 +4707,7 @@ static CURLcode create_conn(struct SessionHandle *data,
     proxy = NULL;
   }
   /* proxy must be freed later unless NULL */
-  if(proxy && *proxy) {
+  if(proxy) {
     long bits = conn->protocol & (PROT_HTTPS|PROT_SSL);
 
     if((conn->proxytype == CURLPROXY_HTTP) ||