diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-03-30 19:59:15 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-03-30 19:59:15 +0000 |
commit | 3dcc7202d55dfa0ce57a69ba9117269e65494668 (patch) | |
tree | e32f1f2428b182e809aa091592341da65f048368 | |
parent | 40981286ea158b7e0aa021a5927e809a013167c0 (diff) |
dead code removed, found by the coverity.com scan
-rw-r--r-- | lib/socks.c | 2 |
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; |