summaryrefslogtreecommitdiffstats
path: root/account.c
diff options
context:
space:
mode:
authorEmanuele Giaquinta <e.giaquinta@glauco.it>2008-10-30 01:02:24 +0100
committerEmanuele Giaquinta <e.giaquinta@glauco.it>2008-10-30 01:02:24 +0100
commit641e0ba194c31881da49dc23d1f0f4e1ac09bc02 (patch)
treeb26929d7c1cc99f7dabef3da0edafbd4ce634a0b /account.c
parentc7f360b03223cfd35570778cd796531adbe25517 (diff)
Remove unused variable in mutt_account_match and fix comment.
Diffstat (limited to 'account.c')
-rw-r--r--account.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/account.c b/account.c
index ca65754d..b305f788 100644
--- a/account.c
+++ b/account.c
@@ -26,11 +26,10 @@
#include "account.h"
#include "url.h"
-/* mutt_account_match: compare account info (host/port/user/login) */
+/* mutt_account_match: compare account info (host/port/user) */
int mutt_account_match (const ACCOUNT* a1, const ACCOUNT* a2)
{
const char* user = NONULL (Username);
- const char* login = NONULL (Username);
if (a1->type != a2->type)
return 0;
@@ -44,8 +43,6 @@ int mutt_account_match (const ACCOUNT* a1, const ACCOUNT* a2)
{
if (ImapUser)
user = ImapUser;
- if (ImapLogin)
- login = ImapLogin;
}
#endif