projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nico Golde:
[apps/madmutt.git]
/
imap
/
auth_login.c
diff --git
a/imap/auth_login.c
b/imap/auth_login.c
index
3d8ae67
..
bffa005
100644
(file)
--- a/
imap/auth_login.c
+++ b/
imap/auth_login.c
@@
-40,18
+40,9
@@
imap_auth_res_t imap_auth_login (IMAP_DATA * idata, const char *method)
mutt_message _("Logging in...");
mutt_message _("Logging in...");
- imap_quote_string (q_user, sizeof (q_user), idata->conn->account.
user
);
+ imap_quote_string (q_user, sizeof (q_user), idata->conn->account.
login
);
imap_quote_string (q_pass, sizeof (q_pass), idata->conn->account.pass);
imap_quote_string (q_pass, sizeof (q_pass), idata->conn->account.pass);
-#ifdef DEBUG
- /* don't print the password unless we're at the ungodly debugging level
- * of 5 or higher */
-
- if (DebugLevel < IMAP_LOG_PASS)
- debug_print (2, ("Sending LOGIN command for %s...\n",
- idata->conn->account.user));
-#endif
-
snprintf (buf, sizeof (buf), "LOGIN %s %s", q_user, q_pass);
rc = imap_exec (idata, buf, IMAP_CMD_FAIL_OK | IMAP_CMD_PASS);
snprintf (buf, sizeof (buf), "LOGIN %s %s", q_user, q_pass);
rc = imap_exec (idata, buf, IMAP_CMD_FAIL_OK | IMAP_CMD_PASS);