aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-03-30 19:59:15 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-03-30 19:59:15 +0000
commit3dcc7202d55dfa0ce57a69ba9117269e65494668 (patch)
treee32f1f2428b182e809aa091592341da65f048368 /lib
parent40981286ea158b7e0aa021a5927e809a013167c0 (diff)
dead code removed, found by the coverity.com scan
Diffstat (limited to 'lib')
-rw-r--r--lib/socks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/socks.c b/lib/socks.c
index 852245074..1157b960c 100644
--- a/lib/socks.c
+++ b/lib/socks.c
@@ -442,7 +442,7 @@ CURLcode Curl_SOCKS5(const char *proxy_name,
int len;
if(proxy_name && proxy_password) {
userlen = strlen(proxy_name);
- pwlen = proxy_password?strlen(proxy_password):0;
+ pwlen = strlen(proxy_password);
}
else {
userlen = 0;