changeset 255:518f63be3723 HEAD

bugfix
author Timo Sirainen <tss@iki.fi>
date Mon, 16 Sep 2002 09:50:41 +0300
parents 08135c37551a
children 73a5f8a34893
files src/lib-index/mail-index-compress.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-index-compress.c	Mon Sep 16 09:41:32 2002 +0300
+++ b/src/lib-index/mail-index-compress.c	Mon Sep 16 09:50:41 2002 +0300
@@ -29,7 +29,7 @@
 			(empty_space * INDEX_TRUNCATE_KEEP_PERCENTAGE / 100);
 
 		/* keep the size record-aligned */
-		index->mmap_full_length =
+		index->mmap_full_length -=
 			(index->mmap_full_length - sizeof(MailIndexHeader)) %
 			sizeof(MailIndexRecord);