projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From: Lars Ellenberg <Lars.Ellenberg@linbit.com>
[apps/madmutt.git]
/
mx.c
diff --git
a/mx.c
b/mx.c
index
0574fa5
..
28eb914
100644
(file)
--- a/
mx.c
+++ b/
mx.c
@@
-487,7
+487,7
@@
static int mx_open_mailbox_append (CONTEXT * ctx, int flags)
}
return (-1);
}
}
return (-1);
}
- fseek (ctx->fp, 0, 2);
+ fseek
o
(ctx->fp, 0, 2);
break;
case M_MH:
break;
case M_MH:
@@
-1454,7
+1454,11
@@
int mx_rebuild_cache (void) {
for (i = 0; i < Incoming->length; i++) {
b = (BUFFY*) Incoming->data[i];
magic = mx_get_magic (b->path);
for (i = 0; i < Incoming->length; i++) {
b = (BUFFY*) Incoming->data[i];
magic = mx_get_magic (b->path);
- if (magic != M_MAILDIR && magic != M_MH && magic != M_IMAP)
+ if (magic != M_MAILDIR && magic != M_MH
+#ifdef USE_IMAP
+ && magic != M_IMAP
+#endif
+ )
continue;
buf = str_dup (b->path);
mutt_pretty_mailbox (buf);
continue;
buf = str_dup (b->path);
mutt_pretty_mailbox (buf);