[wget-notify] [bug #23266] --ask-password should bail if it returns
a null password
Joao Fernando Ferreira
INVALID.NOREPLY at gnu.org
Fri May 16 14:47:59 PDT 2008
Follow-up Comment #1, bug #23266 (project wget):
Is there something wrong with the following code?
if (opt.ask_passwd)
{
opt.passwd = prompt_for_password ();
if(!strlen(opt.passwd))
{
exit(1);
}
}
It works for CTRL+D and empty input, obviously. What other cases do you mean
with 'etc.'?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?23266>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
More information about the wget-notify
mailing list