Remove redundant conditional

This commit is contained in:
Dan Fandrich
2010-04-06 22:57:20 -07:00
parent f38510f4b5
commit 44f1bef668

View File

@@ -4707,7 +4707,7 @@ static CURLcode create_conn(struct SessionHandle *data,
proxy = NULL; proxy = NULL;
} }
/* proxy must be freed later unless NULL */ /* proxy must be freed later unless NULL */
if(proxy && *proxy) { if(proxy) {
long bits = conn->protocol & (PROT_HTTPS|PROT_SSL); long bits = conn->protocol & (PROT_HTTPS|PROT_SSL);
if((conn->proxytype == CURLPROXY_HTTP) || if((conn->proxytype == CURLPROXY_HTTP) ||