Mercurial > dovecot > original-hg > dovecot-1.2
changeset 2715:b81a60004612 HEAD
Copying mapping to memory didn't copy some fields which could have caused
problems (especially "lost transaction log file .. seq 1")
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 09 Oct 2004 17:20:21 +0300 |
parents | 6ed287e7a31c |
children | ca9d5d046f23 |
files | src/lib-index/mail-index.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-index/mail-index.c Sat Oct 09 16:54:28 2004 +0300 +++ b/src/lib-index/mail-index.c Sat Oct 09 17:20:21 2004 +0300 @@ -691,6 +691,10 @@ } } + mem_map->log_file_seq = mem_map->hdr->log_file_seq; + mem_map->log_file_offset = mem_map->hdr->log_file_offset; + mem_map->base_header_size = mem_map->hdr->base_header_size; + return mem_map; }