Mercurial > dovecot > core-2.2
changeset 22327:dc4a976b82a6
lib-index: Fix compiler warning with 32bit time_t
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Wed, 12 Jul 2017 17:54:44 +0300 |
parents | ba1a35c5ead7 |
children | a86e10e8e8a3 |
files | src/lib-index/mail-transaction-log.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-index/mail-transaction-log.c Tue Jul 11 15:35:16 2017 +0300 +++ b/src/lib-index/mail-transaction-log.c Wed Jul 12 17:54:44 2017 +0300 @@ -57,7 +57,7 @@ } if (log2_rotate_time != (uint32_t)-1 && - ioloop_time - log2_rotate_time >= (time_t)log->index->log_rotate_log2_stale_secs && + ioloop_time - (time_t)log2_rotate_time >= (time_t)log->index->log_rotate_log2_stale_secs && !log->index->readonly) { i_unlink_if_exists(log->filepath2); log2_rotate_time = (uint32_t)-1;