X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=account.c;h=ea1806a894790dc2616738377694cfb2570375ae;hp=17234fbf0b78fc214227d3b1ad8a4ac9ed5cd7b3;hb=8e689b28eefc1a93797f299c33f7ec3e2e340329;hpb=688ac22f746f785c27ac99ac86aa85a3035a3638 diff --git a/account.c b/account.c index 17234fb..ea1806a 100644 --- a/account.c +++ b/account.c @@ -19,8 +19,8 @@ /* mutt_account_match: compare account info (host/port/user/login) */ int mutt_account_match (const ACCOUNT * a1, const ACCOUNT * a2) { - const char* user = NONULL (Username); - const char* login = NONULL (Username); + const char* user = NONULL(MCore.username); + const char* login = NONULL(MCore.username); if (a1->type != a2->type) return 0; @@ -140,7 +140,7 @@ int mutt_account_getuser (ACCOUNT * account) /* prompt (defaults to unix username), copy into account->user */ else { snprintf(prompt, sizeof(prompt), _("Username at %s: "), account->host); - m_strcpy(account->user, sizeof(account->user), NONULL(Username)); + m_strcpy(account->user, sizeof(account->user), NONULL(MCore.username)); if (mutt_get_field_unbuffered(prompt, account->user, sizeof(account->user), 0)) return -1;