[dovecot-cvs] dovecot/src/lib-index mail-index-data.c,1.38,1.39

cras at procontrol.fi cras at procontrol.fi
Sat Apr 12 19:39:31 EEST 2003


Update of /home/cvs/dovecot/src/lib-index
In directory danu:/tmp/cvs-serv18296

Modified Files:
	mail-index-data.c 
Log Message:
mmap_used_length should be updated too when data is appeneded



Index: mail-index-data.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index-data.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- mail-index-data.c	30 Mar 2003 12:48:37 -0000	1.38
+++ mail-index-data.c	12 Apr 2003 15:39:29 -0000	1.39
@@ -453,6 +453,7 @@
 
 	memcpy((char *) data->mmap_base + offset, buffer, size);
 	data->header->used_file_size += size;
+	data->mmap_used_length += size;
 
         data->modified = TRUE;
 	return offset;




More information about the dovecot-cvs mailing list