[dovecot-cvs] dovecot/src/lib-index mail-transaction-log.c, 1.83, 1.84

cras at dovecot.org cras at dovecot.org
Sun Jan 23 01:25:53 EET 2005


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

Modified Files:
	mail-transaction-log.c 
Log Message:
optimization.



Index: mail-transaction-log.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-transaction-log.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- mail-transaction-log.c	16 Jan 2005 19:18:24 -0000	1.83
+++ mail-transaction-log.c	22 Jan 2005 23:25:51 -0000	1.84
@@ -1248,9 +1248,8 @@
 
 		if ((buf->used % 4) != 0)
 			buffer_append_zero(buf, 4 - (buf->used % 4));
-		buffer_append_buf(buf, kt[i]->messages, 0, (size_t)-1);
 
-		if (log_append_buffer(file, buf, NULL,
+		if (log_append_buffer(file, kt[i]->messages, buf, 
 				      MAIL_TRANSACTION_KEYWORD_UPDATE,
 				      t->external) < 0)
 			return -1;



More information about the dovecot-cvs mailing list