Mercurial > dovecot > core-2.2
changeset 20779:8a47f278ee2b
dsync: Virtual sizes weren't exported properly with -I parameter.
Although they were incorrectly being exported with -T parameter. This makes
-I work without assert-crashing.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Tue, 27 Sep 2016 13:50:51 +0300 |
parents | deaebe1844c1 |
children | 6fd8e7d2a497 |
files | src/doveadm/dsync/dsync-mailbox-export.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/doveadm/dsync/dsync-mailbox-export.c Tue Sep 27 13:50:10 2016 +0300 +++ b/src/doveadm/dsync/dsync-mailbox-export.c Tue Sep 27 13:50:51 2016 +0300 @@ -310,7 +310,7 @@ received_timestamp = 1; } } - if (exporter->export_received_timestamps) { + if (exporter->export_virtual_sizes) { if (mail_get_virtual_size(mail, &virtual_size) < 0) return dsync_mail_error(exporter, mail, "virtual-size"); i_assert(virtual_size != (uoff_t)-1);