From 6d8be3298359a54ceef0758838a0118f89d7227b Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 27 Sep 2016 13:50:51 +0300 Subject: [PATCH] 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. --- src/doveadm/dsync/dsync-mailbox-export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doveadm/dsync/dsync-mailbox-export.c b/src/doveadm/dsync/dsync-mailbox-export.c index 572b43ea18..f078ee991d 100644 --- a/src/doveadm/dsync/dsync-mailbox-export.c +++ b/src/doveadm/dsync/dsync-mailbox-export.c @@ -310,7 +310,7 @@ search_add_save(struct dsync_mailbox_exporter *exporter, struct mail *mail) 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);