From: Arnaud Lacombe <al@sigfpe.info>
authorpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Tue, 4 Apr 2006 07:53:49 +0000 (07:53 +0000)
committerpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Tue, 4 Apr 2006 07:53:49 +0000 (07:53 +0000)
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

VERSION.svn
imap/auth_login.c

index 5ae5aef..8bce69f 100644 (file)
@@ -1 +1 @@
-800
+801
index 44a2cf0..bffa005 100644 (file)
@@ -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);