commit ba1e176717db3ea5a78c8fcbc5f2ba0f1619d356
Author: Oswald Buddenhagen <[email protected]>
Date: Mon May 20 18:54:54 2013 +0200
MaxMessages: make condition exactly symmetrical to condition below
src/sync.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/sync.c b/src/sync.c
index 8b7ea57..bf48b7d 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -1300,7 +1300,7 @@ box_loaded( int sts, void *aux )
for (tmsg = svars->ctx[S]->msgs; tmsg && todel > 0; tmsg =
tmsg->next) {
if (tmsg->status & M_DEAD)
continue;
- if ((srec = tmsg->srec) &&
+ if ((srec = tmsg->srec) && srec->uid[M] > 0 &&
((tmsg->flags | srec->aflags[S]) & ~srec->dflags[S]
& F_DELETED) &&
!(srec->status & (S_EXPIRE|S_EXPIRED)))
todel--;
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel