[dovecot-cvs] dovecot/src/lib-index mail-transaction-log-view.c,
1.14, 1.15
cras at procontrol.fi
cras at procontrol.fi
Sun May 30 07:35:08 EEST 2004
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-index-sync-update.c, 1.20,
1.21 mail-index-sync-private.h, 1.7, 1.8
- Next message: [dovecot-cvs] dovecot/src/imap-login client-authenticate.c, 1.17,
1.18 client.c, 1.24, 1.25 client.h, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv22297
Modified Files:
mail-transaction-log-view.c
Log Message:
added assert
Index: mail-transaction-log-view.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-transaction-log-view.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- a/mail-transaction-log-view.c 30 May 2004 04:28:07 -0000 1.14
+++ b/mail-transaction-log-view.c 30 May 2004 04:35:06 -0000 1.15
@@ -118,6 +118,9 @@
i_assert(min_file_offset >= sizeof(struct mail_transaction_log_header));
i_assert(max_file_offset >= sizeof(struct mail_transaction_log_header));
+ i_assert(min_file_seq != max_file_seq ||
+ min_file_offset <= max_file_offset);
+
end_offset = min_file_seq == max_file_seq ?
max_file_offset : (uoff_t)-1;
ret = mail_transaction_log_file_map(file, min_file_offset, end_offset);
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-index-sync-update.c, 1.20,
1.21 mail-index-sync-private.h, 1.7, 1.8
- Next message: [dovecot-cvs] dovecot/src/imap-login client-authenticate.c, 1.17,
1.18 client.c, 1.24, 1.25 client.h, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list