Rocco Rutte:
authorpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Wed, 6 Apr 2005 16:16:30 +0000 (16:16 +0000)
committerpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Wed, 6 Apr 2005 16:16:30 +0000 (16:16 +0000)
remove debugging code

git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@254 e385b8ad-14ed-0310-8656-cc95a2468c6d

mx.c

diff --git a/mx.c b/mx.c
index 4f0c75b..2a9e17b 100644 (file)
--- a/mx.c
+++ b/mx.c
@@ -155,7 +155,6 @@ static int mx_get_idx (const char* path) {
 
   for (i = 0; i < MailboxFormats->length; i++) {
     t = MX_COMMAND(i,mx_is_magic)(path);
 
   for (i = 0; i < MailboxFormats->length; i++) {
     t = MX_COMMAND(i,mx_is_magic)(path);
-    fprintf (stderr, "          test %s for %i == %i\n", NONULL(path), i, t);
     if (t >= 1)
       return (t-1);     /* use type as index for array */
   }
     if (t >= 1)
       return (t-1);     /* use type as index for array */
   }
@@ -331,10 +330,8 @@ int mx_get_magic (const char *path) {
 
   if (safe_strlen (path) == 0)
     return (-1);
 
   if (safe_strlen (path) == 0)
     return (-1);
-  if ((i = mx_get_idx (path)) >= 0) {
-    fprintf (stderr, "%s is %i\n", NONULL(path), i);
+  if ((i = mx_get_idx (path)) >= 0)
     return (MX_COMMAND(i,type));
     return (MX_COMMAND(i,type));
-  }
   return (-1);
 }
 
   return (-1);
 }