Mercurial > dovecot > original-hg > dovecot-1.2
changeset 4659:66d3f064ba40 HEAD
Adding space to header could have broken things. This fixes at least
"X-IMAPbase uid-last unexpectedly lost in mbox file" errors.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 13 Oct 2006 20:42:05 +0300 |
parents | 3b49b9ec87dc |
children | 60ae03cf7412 |
files | src/lib-storage/index/mbox/mbox-sync-rewrite.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/mbox/mbox-sync-rewrite.c Fri Oct 13 19:37:12 2006 +0300 +++ b/src/lib-storage/index/mbox/mbox-sync-rewrite.c Fri Oct 13 20:42:05 2006 +0300 @@ -118,9 +118,8 @@ /* pos points to end of header now, and start_pos to beginning of whitespace. */ + mbox_sync_move_buffer(ctx, pos, size, 0); - buffer_copy(ctx->header, pos + size, - ctx->header, pos, (size_t)-1); p = buffer_get_space_unsafe(ctx->header, pos, size); memset(p, ' ', size);