Rocco Rutte:
- remove useless debug printing of user/password in IMAP code since we're logging full socket traffic at $debug_level==5 already
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@801
e385b8ad-14ed-0310-8656-
cc95a2468c6d
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_user, sizeof (q_user), idata->conn->account.login);
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);