aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2010-04-06 22:57:20 -0700
committerDan Fandrich <dan@coneharvesters.com>2010-04-15 10:51:03 -0700
commit44f1bef6683ddc3fb268b0bca2e5eae314d69d23 (patch)
treedec961c554fa567ec5789cbce0036a22253085a8 /lib
parentf38510f4b59edad8ae6e8f1535ea3ffcd31fa5d4 (diff)
Remove redundant conditional
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
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) ||