Skip to content

Commit

Permalink
dsync: Virtual sizes weren't exported properly with -I parameter.
Browse files Browse the repository at this point in the history
Although they were incorrectly being exported with -T parameter. This makes
-I work without assert-crashing.
  • Loading branch information
sirainen committed Sep 27, 2016
1 parent f538498 commit 93a4387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doveadm/dsync/dsync-mailbox-export.c
Expand Up @@ -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);
Expand Down

0 comments on commit 93a4387

Please sign in to comment.