summaryrefslogtreecommitdiffstats
path: root/account.c
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2003-07-14 12:17:43 +0000
committerBrendan Cully <brendan@kublai.com>2003-07-14 12:17:43 +0000
commitc4ef62a751b0727a7a5c332a048df84fb1939c09 (patch)
tree3dea855b1a8b3b39a19c6941acaea3792664862d /account.c
parenta68a67377196e09fd764b461d8fedcf31be763e6 (diff)
The attached patch prevents mutt from reading the push buffer when
asking for passwords. This is a proper fix for bug 1312. I think it's uncontroversial.
Diffstat (limited to 'account.c')
-rw-r--r--account.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/account.c b/account.c
index 5a7fe790..3fda792b 100644
--- a/account.c
+++ b/account.c
@@ -172,7 +172,7 @@ int mutt_account_getpass (ACCOUNT* account)
snprintf (prompt, sizeof (prompt), _("Password for %s@%s: "),
account->user, account->host);
account->pass[0] = '\0';
- if (mutt_get_field (prompt, account->pass, sizeof (account->pass), M_PASS))
+ if (mutt_get_password (prompt, account->pass, sizeof (account->pass)))
return -1;
}