Mercurial > dovecot > original-hg > dovecot-1.2
changeset 4239:edd923a44ef7 HEAD
Offset update fix
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 02 May 2006 16:05:13 +0300 |
parents | 3c8b191b0019 |
children | f58c8751cacf |
files | src/lib-storage/index/mbox/mbox-sync-update.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/mbox/mbox-sync-update.c Tue May 02 14:11:05 2006 +0300 +++ b/src/lib-storage/index/mbox/mbox-sync-update.c Tue May 02 16:05:13 2006 +0300 @@ -53,7 +53,7 @@ i_assert(ctx->mail.offset + ctx->mail.space <= ctx->hdr_offset + pos || ctx->mail.offset > ctx->hdr_offset + pos + have); - if (ctx->mail.offset > pos) { + if (ctx->mail.offset > ctx->hdr_offset + pos) { /* free space offset moves */ ctx->mail.offset += diff; }