remove most of the debug code: often makes the code unreadable, for little
[apps/madmutt.git] / lib-ui / curs_main.c
index 0fd125a..7b5b5ee 100644 (file)
@@ -26,7 +26,6 @@
 #include <lib-lib/str.h>
 #include <lib-lib/macros.h>
 #include <lib-lib/mapping.h>
-#include <lib-lib/debug.h>
 
 #include <pop/pop.h>
 
@@ -34,6 +33,7 @@
 #include "menu.h"
 
 #include "mutt.h"
+#include "alias.h"
 #include "mx.h"
 #include "sort.h"
 #include "recvattach.h"
@@ -604,8 +604,6 @@ int mutt_index_menu (void)
 
       op = km_dokey (MENU_MAIN);
 
-      debug_print (4, ("Got op %d\n", op));
-
       if (op == -1)
         continue;               /* either user abort or timeout */
 
@@ -751,7 +749,7 @@ int mutt_index_menu (void)
             break;
         }
         else {
-          LIST *ref = CURHDR->env->references;
+          string_list_t *ref = CURHDR->env->references;
 
           if (!ref) {
             mutt_error (_("Article has no parent reference!"));
@@ -807,7 +805,7 @@ int mutt_index_menu (void)
         m_strcpy(buf, sizeof(buf), CURHDR->env->message_id);
 
         if (op == OP_RECONSTRUCT_THREAD) {
-          LIST *ref = CURHDR->env->references;
+          string_list_t *ref = CURHDR->env->references;
 
           while (ref) {
             nntp_check_msgid (Context, ref->data);