Mercurial > dovecot > original-hg > dovecot-1.2
changeset 6956:f0dbbc1f0586 HEAD
Code cleanup
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 08 Dec 2007 16:41:35 +0200 |
parents | 07f151520c84 |
children | d421f14ba797 |
files | src/lib-storage/index/index-sync.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/index-sync.c Sat Dec 08 16:40:34 2007 +0200 +++ b/src/lib-storage/index/index-sync.c Sat Dec 08 16:41:35 2007 +0200 @@ -325,8 +325,7 @@ /* finish handling expunges, so we don't break when updating recent flags */ - while (ctx->expunge_pos > 0) - index_mailbox_sync_next_expunge(ctx, &sync_rec); + while (index_mailbox_sync_next_expunge(ctx, &sync_rec) > 0) ; if (ctx->sync_ctx != NULL) { if (mail_index_view_sync_commit(&ctx->sync_ctx) < 0) {