diff options
Diffstat (limited to 'lib/socks.c')
-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; |