[dovecot-cvs] dovecot/src/lib-index mail-index.c,1.151,1.152

cras at dovecot.org cras at dovecot.org
Sat Oct 9 17:20:23 EEST 2004


Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv10636/lib-index

Modified Files:
	mail-index.c 
Log Message:
Copying mapping to memory didn't copy some fields which could have caused
problems (especially "lost transaction log file .. seq 1")



Index: mail-index.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index.c,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- mail-index.c	8 Oct 2004 17:51:48 -0000	1.151
+++ mail-index.c	9 Oct 2004 14:20:21 -0000	1.152
@@ -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;
 }
 



More information about the dovecot-cvs mailing list