Mercurial > dovecot > original-hg > dovecot-1.2
changeset 3345:5b6d91616e08 HEAD
Don't always sync full mbox if first message is the pseudo mail.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 26 Apr 2005 22:10:47 +0300 |
parents | 09457ba69253 |
children | 8e093a2cc8db |
files | src/lib-storage/index/mbox/mbox-sync.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/mbox/mbox-sync.c Tue Apr 26 21:36:48 2005 +0300 +++ b/src/lib-storage/index/mbox/mbox-sync.c Tue Apr 26 22:10:47 2005 +0300 @@ -995,12 +995,12 @@ uid = mail_ctx->mail.uid = rec->uid; } - if (rec == NULL) { - /* from now on, don't skip anything */ - partial = FALSE; - } + if (!mail_ctx->pseudo) { + if (rec == NULL) { + /* from now on, don't skip anything */ + partial = FALSE; + } - if (!mail_ctx->pseudo) { /* get all sync records related to this message */ if (mbox_sync_read_index_syncs(sync_ctx, uid, &expunged) < 0)