Browse Source

echo the mailbox the password is for

0.9
Oswald Buddenhagen 21 years ago
parent
commit
228ba6b48b
  1. 5
      src/imap.c

5
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");

Loading…
Cancel
Save