+2008-05-15 Micah Cowan <micah@cowan.name>
+
+ * main.c (prompt_for_password): Use the quote module.
+
2008-05-14 Micah Cowan <micah@cowan.name>
* ftp.c (ftp_retrieve_list): Symlinks and other filenames
#include "http.h" /* for save_cookies */
#include <getopt.h>
-#include "getpass.h"
+#include <getpass.h>
+#include <quote.h>
#ifndef PATH_SEPARATOR
# define PATH_SEPARATOR '/'
prompt_for_password (void)
{
if (opt.user)
- printf (_("Password for user \"%s\": "), opt.user);
+ printf (_("Password for user %s: "), quote (opt.user));
else
printf (_("Password: "));
return getpass("");