+2008-05-19 Micah Cowan <micah@cowan.name>
+
+ * main.c (main): Password prompt should be done only once (not
+ once per argument), and should be done prior to the background
+ fork.
+
2008-05-17 Steven Schubiger <schubiger@gmail.com>
* init.c (defaults): Set the preferred IP family to `none' by
2008-05-17 Kenny Parnell <k.parnell@gmail.com>
(cmd_spec_prefer_family): Initialize prefer_family to prefer_none.
+2008-05-17 Micah Cowan <micah@cowan.name>
+
* main.c (main): Handle Ctrl-D on command-line.
2008-05-15 Steven Schubiger <schubiger@gmail.com>
exit (1);
}
+ if (opt.ask_passwd)
+ {
+ opt.passwd = prompt_for_password ();
+
+ if (opt.passwd == NULL || opt.passwd[0] == '\0')
+ exit (1);
+ }
+
#ifdef MSDOS
if (opt.wdebug)
dbug_init();
char *filename = NULL, *redirected_URL = NULL;
int dt;
- if (opt.ask_passwd)
- {
- opt.passwd = prompt_for_password ();
-
- if (opt.passwd == NULL || opt.passwd[0] == '\0')
- exit (1);
- }
-
if ((opt.recursive || opt.page_requisites)
&& (url_scheme (*t) != SCHEME_FTP || url_uses_proxy (*t)))
{