From 3dcc7202d55dfa0ce57a69ba9117269e65494668 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 30 Mar 2007 19:59:15 +0000 Subject: dead code removed, found by the coverity.com scan --- lib/socks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; -- cgit v1.2.3