From: pdmef Date: Tue, 4 Apr 2006 07:53:49 +0000 (+0000) Subject: From: Arnaud Lacombe X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=commitdiff_plain;h=c7ef4c04b0e95e263768e4df06220525a5872dca;ds=sidebyside From: Arnaud Lacombe 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 --- diff --git a/VERSION.svn b/VERSION.svn index 5ae5aef..8bce69f 100644 --- a/VERSION.svn +++ b/VERSION.svn @@ -1 +1 @@ -800 +801 diff --git a/imap/auth_login.c b/imap/auth_login.c index 44a2cf0..bffa005 100644 --- a/imap/auth_login.c +++ b/imap/auth_login.c @@ -43,15 +43,6 @@ imap_auth_res_t imap_auth_login (IMAP_DATA * idata, const char *method) 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);