isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit 228ba6b48ba5e643796177ecc5ec837e2ed47c50
parent 4fba9c8b744c004460c58791704c845629f87291
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date:   Tue,  2 Dec 2003 02:53:14 +0000

echo the mailbox the password is for

Diffstat:
Msrc/imap.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/imap.c b/src/imap.c @@ -793,7 +793,10 @@ imap_connect (config_t * cfg) */ if (!global.pass) { - global.pass = getpass ("Password:"); + char prompt[80]; + sprintf(prompt, "Password (mailbox %s@%s/%s):", + cfg->user, cfg->host, cfg->box); + global.pass = getpass (prompt); if (!global.pass) { perror ("getpass");