isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit d92c62022ab0ef7dfcdf144ef5525d38858c9806
parent f7650993b7bdd239414590ae5a1abafc36a3b73f
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date:   Wed,  8 Dec 2021 13:58:01 +0100

treat not-really-propagated messages as trashable

messages for which only a placeholder was propagated should be treated
as not propagated, as otherwise the actual contents will be lost when
only not propagated messages are trashed.

amends 70bad661.

Diffstat:
Msrc/sync.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sync.c b/src/sync.c @@ -1570,7 +1570,7 @@ msgs_flags_set( sync_vars_t *svars, int t ) debug( "is expired\n" ); continue; } - if (only_new && !(srec->status & (S_PENDING | S_SKIPPED))) { + if (only_new && !(srec->status & (S_PENDING | S_DUMMY(t^1) | S_SKIPPED))) { debug( "is not new\n" ); continue; }