X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/14c29200cb58d3c4a0830265f2433849781858d0..cc88e981a89f23d6090a367c7c78208f539f0c0a:/postpone.c?ds=inline diff --git a/postpone.c b/postpone.c index bcb8607..12bc7cc 100644 --- a/postpone.c +++ b/postpone.c @@ -1,6 +1,6 @@ /* * Copyright (C) 1996-2002 Michael R. Elkins - * Copyright (C) 1999-2000 Thomas Roessler + * Copyright (C) 1999-2002,2004 Thomas Roessler * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,13 +23,11 @@ #include "mutt.h" #include "mutt_menu.h" -#include "rfc1524.h" #include "mime.h" #include "mailbox.h" #include "mapping.h" #include "sort.h" #ifdef USE_IMAP -#include "mx.h" #include "imap.h" #endif #include "mutt_crypt.h" @@ -93,10 +91,10 @@ int mutt_num_postponed (int force) if (newpc >= 0) { PostCount = newpc; - dprint (2, (debugfile, "mutt_num_postponed: %d postponed IMAP messages found.\n", PostCount)); + dprint (3, (debugfile, "mutt_num_postponed: %d postponed IMAP messages found.\n", PostCount)); } else - dprint (2, (debugfile, "mutt_num_postponed: using old IMAP postponed count.\n")); + dprint (3, (debugfile, "mutt_num_postponed: using old IMAP postponed count.\n")); } return PostCount; } @@ -160,9 +158,8 @@ static HEADER *select_msg (void) char helpstr[LONG_STRING]; short orig_sort; - menu = mutt_new_menu (); + menu = mutt_new_menu (MENU_POST); menu->make_entry = post_entry; - menu->menu = MENU_POST; menu->max = PostContext->msgcount; menu->title = _("Postponed Messages"); menu->data = PostContext; @@ -322,7 +319,7 @@ int mutt_get_postponed (CONTEXT *ctx, HEADER *hdr, HEADER **cur, char *fcc, size p = tmp->data + 11; SKIPWS (p); strfcpy (fcc, p, fcclen); - mutt_pretty_mailbox (fcc); + mutt_pretty_mailbox (fcc, fcclen); /* remove the X-Mutt-Fcc: header field */ next = tmp->next;