From 44f1bef6683ddc3fb268b0bca2e5eae314d69d23 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 6 Apr 2010 22:57:20 -0700 Subject: Remove redundant conditional --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/url.c b/lib/url.c index 357f213c0..6dc267204 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) || -- cgit v1.2.3