dead code removed, found by the coverity.com scan

This commit is contained in:
Daniel Stenberg 2007-03-30 19:59:15 +00:00
parent 40981286ea
commit 3dcc7202d5

View File

@ -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;