[dovecot-cvs] dovecot/src/lib-index mail-transaction-log.c, 1.87, 1.88

cras at dovecot.org cras at dovecot.org
Sat Mar 5 12:25:11 EET 2005


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

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



Index: mail-transaction-log.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-transaction-log.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- mail-transaction-log.c	5 Mar 2005 10:19:37 -0000	1.87
+++ mail-transaction-log.c	5 Mar 2005 10:25:09 -0000	1.88
@@ -170,8 +170,7 @@
 
 #define INDEX_HAS_MISSING_LOGS(index, file) \
 	!(((file)->hdr.file_seq == (index)->hdr->log_file_seq && \
-	   (index)->hdr->log_file_int_offset >= \
-	   sizeof(struct mail_transaction_log_header)) || \
+	   (index)->hdr->log_file_int_offset >= (file)->hdr.hdr_size) || \
 	  ((file)->hdr.prev_file_seq == (index)->hdr->log_file_seq && \
 	   (file)->hdr.prev_file_offset == (index)->hdr->log_file_int_offset))
 



More information about the dovecot-cvs mailing list