aboutsummaryrefslogtreecommitdiff
path: root/mailutils/mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'mailutils/mail.c')
-rw-r--r--mailutils/mail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mailutils/mail.c b/mailutils/mail.c
index eceb89071..0fc615a7f 100644
--- a/mailutils/mail.c
+++ b/mailutils/mail.c
@@ -163,8 +163,8 @@ void FAST_FUNC encode_base64(char *fname, const char *text, const char *eol)
163void FAST_FUNC get_cred_or_die(int fd) 163void FAST_FUNC get_cred_or_die(int fd)
164{ 164{
165 if (isatty(fd)) { 165 if (isatty(fd)) {
166 G.user = xstrdup(bb_ask(fd, /* timeout: */ 0, "User: ")); 166 G.user = xstrdup(bb_ask_noecho(fd, /* timeout: */ 0, "User: "));
167 G.pass = xstrdup(bb_ask(fd, /* timeout: */ 0, "Password: ")); 167 G.pass = xstrdup(bb_ask_noecho(fd, /* timeout: */ 0, "Password: "));
168 } else { 168 } else {
169 G.user = xmalloc_reads(fd, /* maxsize: */ NULL); 169 G.user = xmalloc_reads(fd, /* maxsize: */ NULL);
170 G.pass = xmalloc_reads(fd, /* maxsize: */ NULL); 170 G.pass = xmalloc_reads(fd, /* maxsize: */ NULL);