projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Andreas Krennmair:
[apps/madmutt.git]
/
mh.c
diff --git
a/mh.c
b/mh.c
index
56265b5
..
0c76fee
100644
(file)
--- a/
mh.c
+++ b/
mh.c
@@
-1220,7
+1220,7
@@
static int mh_sync_message (CONTEXT * ctx, int msgno)
{
HEADER *h = ctx->hdrs[msgno];
{
HEADER *h = ctx->hdrs[msgno];
- if (h->attach_del)
+ if (h->attach_del
|| h->refs_changed || h->irt_changed
)
if (mh_rewrite_message (ctx, msgno) != 0)
return -1;
if (mh_rewrite_message (ctx, msgno) != 0)
return -1;
@@
-1231,9
+1231,9
@@
static int maildir_sync_message (CONTEXT * ctx, int msgno)
{
HEADER *h = ctx->hdrs[msgno];
{
HEADER *h = ctx->hdrs[msgno];
- if (h->attach_del)
+ if (h->attach_del
|| h->refs_changed || h->irt_changed
)
{
{
- /* when doing attachment deletion, fall back to the MH case. */
+ /* when doing attachment deletion
/rethreading
, fall back to the MH case. */
if (mh_rewrite_message (ctx, msgno) != 0)
return (-1);
}
if (mh_rewrite_message (ctx, msgno) != 0)
return (-1);
}