dovecot-1.2: Added padding to struct mail_transaction_log_header...

dovecot at dovecot.org dovecot at dovecot.org
Sun Aug 31 11:50:37 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/0be9c476acdd
changeset: 8135:0be9c476acdd
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Aug 31 11:49:47 2008 +0300
description:
Added padding to struct mail_transaction_log_header so it's 64bit aligned.
Most compilers did that automatically already.

diffstat:

1 file changed, 1 insertion(+)
src/lib-index/mail-transaction-log.h |    1 +

diffs (11 lines):

diff -r 447638ac601a -r 0be9c476acdd src/lib-index/mail-transaction-log.h
--- a/src/lib-index/mail-transaction-log.h	Sun Aug 31 11:48:23 2008 +0300
+++ b/src/lib-index/mail-transaction-log.h	Sun Aug 31 11:49:47 2008 +0300
@@ -22,6 +22,7 @@ struct mail_transaction_log_header {
 
 	uint8_t compat_flags; /* enum mail_index_header_compat_flags, v1.2+ */
 	uint8_t unused[3];
+	uint32_t unused2; /* so that this struct is 64bit aligned */
 };
 
 enum mail_transaction_type {


More information about the dovecot-cvs mailing list