[dovecot-cvs] dovecot/src/lib-index mail-transaction-log-view.c, 1.30, 1.31

cras at dovecot.org cras at dovecot.org
Fri Oct 8 00:11:21 EEST 2004


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

Modified Files:
	mail-transaction-log-view.c 
Log Message:
fix



Index: mail-transaction-log-view.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-transaction-log-view.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- mail-transaction-log-view.c	3 Oct 2004 16:32:59 -0000	1.30
+++ mail-transaction-log-view.c	7 Oct 2004 21:11:19 -0000	1.31
@@ -337,8 +337,8 @@
 		const struct mail_transaction_ext_intro *intro;
 		uint32_t i;
 
-		for (i = 0; i < hdr->size; ) {
-			if (i + sizeof(*intro) > hdr->size) {
+		for (i = 0; i < hdr_size; ) {
+			if (i + sizeof(*intro) > hdr_size) {
 				/* should be just extra padding */
 				break;
 			}



More information about the dovecot-cvs mailing list