mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
dead code removed, found by the coverity.com scan
This commit is contained in:
parent
40981286ea
commit
3dcc7202d5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user