]> granicus.if.org Git - neomutt/commitdiff
drop debugging code
authorRichard Russon <rich@flatcap.org>
Fri, 14 Sep 2018 09:59:41 +0000 (10:59 +0100)
committerRichard Russon <rich@flatcap.org>
Fri, 14 Sep 2018 09:59:41 +0000 (10:59 +0100)
curs_main.c

index c370a7fa273f42e3df7e3286838809bd3ee91e09..ad90c17326406aa9b571075a280a855dec831cb3 100644 (file)
@@ -1557,24 +1557,7 @@ int mutt_index_menu(void)
           break;
         }
 
-        // log_queue_save(fp);
-
-        fprintf(fp, "path:     %s\n", Context->mailbox->path);
-        // fprintf(fp, "realpath: %s\n", Context->realpath);
-        fprintf(fp, "mailbox->size:     %ld\n", Context->mailbox->size);
-        fprintf(fp, "vsize:    %ld\n", Context->vsize);
-        fprintf(fp, "\n");
-
-        struct MailboxNode *np = NULL;
-        STAILQ_FOREACH(np, &AllMailboxes, entries)
-        {
-          fprintf(fp, "path:     %s\n", np->m->path);
-          fprintf(fp, "size:     %ld\n", np->m->size);
-          // fprintf(fp, "realpath: %s\n", np->m->realpath);
-          // fprintf(fp, "desc:     %s\n", np->m->desc);
-          fprintf(fp, "\n");
-        }
-
+        log_queue_save(fp);
         mutt_file_fclose(&fp);
 
         mutt_do_pager("messages", tempfile, MUTT_PAGER_LOGS, NULL);