[dovecot-cvs] dovecot/src/lib-index mail-cache-transaction.c, 1.38,
1.39
cras at dovecot.org
cras at dovecot.org
Sat Mar 5 21:08:36 EET 2005
Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv16005
Modified Files:
mail-cache-transaction.c
Log Message:
Cache file space reservation assertfix.
Index: mail-cache-transaction.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-cache-transaction.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- mail-cache-transaction.c 9 Feb 2005 22:28:19 -0000 1.38
+++ mail-cache-transaction.c 5 Mar 2005 19:08:34 -0000 1.39
@@ -236,7 +236,7 @@
return -1;
if (ctx->reserved_space_offset + ctx->reserved_space ==
- hdr->used_file_size) {
+ hdr->used_file_size && ctx->reserved_space > 0) {
/* we can simply grow it */
ctx->reserved_space = block_size;
More information about the dovecot-cvs
mailing list