Mercurial > dovecot > core-2.2
changeset 21524:c14dda2ca252
lib-index: don't reset ioloop_time on mmap error
The variables seems to have been in the wrong order.
author | Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
---|---|
date | Mon, 13 Feb 2017 09:08:25 +0200 |
parents | 71833cb3c478 |
children | cea8065bd571 |
files | src/lib-index/mail-transaction-log-file.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-index/mail-transaction-log-file.c Wed Feb 08 12:47:06 2017 +0200 +++ b/src/lib-index/mail-transaction-log-file.c Mon Feb 13 09:08:25 2017 +0200 @@ -1637,7 +1637,7 @@ file->mmap_base = NULL; file->mmap_size = 0; if (ioloop_time != file->last_mmap_error_time) { - ioloop_time = file->last_mmap_error_time; + file->last_mmap_error_time = ioloop_time; log_file_set_syscall_error(file, t_strdup_printf( "mmap(size=%"PRIuSIZE_T")", file->mmap_size)); }