projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
postpone.c
diff --git
a/postpone.c
b/postpone.c
index
264e9dc
..
bee4690
100644
(file)
--- a/
postpone.c
+++ b/
postpone.c
@@
-21,12
+21,14
@@
#include "mx.h"
#ifdef USE_IMAP
#include "imap.h"
#include "mx.h"
#ifdef USE_IMAP
#include "imap.h"
+#include "imap/mx_imap.h"
#endif
#include "mutt_crypt.h"
#include "lib/mem.h"
#include "lib/intl.h"
#include "lib/str.h"
#endif
#include "mutt_crypt.h"
#include "lib/mem.h"
#include "lib/intl.h"
#include "lib/str.h"
+#include "lib/debug.h"
#include <ctype.h>
#include <unistd.h>
#include <ctype.h>
#include <unistd.h>
@@
-75,22
+77,17
@@
int mutt_num_postponed (int force)
#ifdef USE_IMAP
/* LastModify is useless for IMAP */
#ifdef USE_IMAP
/* LastModify is useless for IMAP */
- if (
mx_get_magic (Postponed
) == M_IMAP) {
+ if (
imap_is_magic (Postponed, NULL
) == M_IMAP) {
if (force) {
short newpc;
newpc = imap_mailbox_check (Postponed, 0);
if (newpc >= 0) {
PostCount = newpc;
if (force) {
short newpc;
newpc = imap_mailbox_check (Postponed, 0);
if (newpc >= 0) {
PostCount = newpc;
- dprint (2,
- (debugfile,
- "mutt_num_postponed: %d postponed IMAP messages found.\n",
- PostCount));
+ debug_print (2, ("%d postponed IMAP messages found.\n", PostCount));
}
else
}
else
- dprint (2,
- (debugfile,
- "mutt_num_postponed: using old IMAP postponed count.\n"));
+ debug_print (2, ("using old IMAP postponed count.\n"));
}
return PostCount;
}
}
return PostCount;
}