From: Dan Fandrich Date: Wed, 7 Apr 2010 05:57:20 +0000 (-0700) Subject: Remove redundant conditional X-Git-Tag: curl-7_21_0~152 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=44f1bef6683ddc3fb268b0bca2e5eae314d69d23;p=thirdparty%2Fcurl.git Remove redundant conditional --- diff --git a/lib/url.c b/lib/url.c index 357f213c07..6dc267204a 100644 --- 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) ||