X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Furl.c;h=3c38b14a868300290637e50a80bd011e521c6f58;hp=e95d572ff05377e5b518aa4353675e882e6acd2a;hb=91164c956838ad6aed7beb72de566872e3cc6cc7;hpb=fb7fc237f737989c06c2979cb366d8b32e689450 diff --git a/src/url.c b/src/url.c index e95d572f..3c38b14a 100644 --- a/src/url.c +++ b/src/url.c @@ -1836,7 +1836,7 @@ url_string (const struct url *url, enum url_auth_mode auth_mode) quoted_user = url_escape_allow_passthrough (url->user); if (url->passwd) { - if (auth_mode = URL_AUTH_HIDE_PASSWD) + if (auth_mode == URL_AUTH_HIDE_PASSWD) quoted_passwd = HIDDEN_PASSWORD; else quoted_passwd = url_escape_allow_passthrough (url->passwd);