mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Fix #20735: == not = in url_string
This commit is contained in:
parent
fb7fc237f7
commit
91164c9568
@ -1,3 +1,8 @@
|
||||
2007-08-09 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
|
||||
|
||||
* src/url.c (url_string): Use comparison, not assignment, in
|
||||
check for auth_mode == URL_AUTH_HIDE_PASSWD.
|
||||
|
||||
2007-08-08 Micah Cowan <micah@cowan.name>
|
||||
|
||||
* init.c (defaults): Content disposition will not be default,
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user