changeset 93:858984f26cf8 HEAD

mbox_open_mail() was buggy
author Timo Sirainen <tss@iki.fi>
date Thu, 29 Aug 2002 01:56:55 +0300
parents a73e43fa20e0
children afa320f00439
files src/lib-index/mbox/mbox-open.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mbox/mbox-open.c	Thu Aug 29 01:52:57 2002 +0300
+++ b/src/lib-index/mbox/mbox-open.c	Thu Aug 29 01:56:55 2002 +0300
@@ -95,7 +95,7 @@
 			/* everything ok */
 			return io_buffer_create_mmap(fd, default_pool,
 						     MAIL_MMAP_BLOCK_SIZE,
-						     stop_offset);
+						     stop_offset - offset);
 		}