dovecot-2.2: lib-storage: Added assert - mailbox has to be open ...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Sep 28 12:12:06 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/60814596aff2
changeset: 19242:60814596aff2
user: Timo Sirainen <tss at iki.fi>
date: Mon Sep 28 15:10:29 2015 +0300
description:
lib-storage: Added assert - mailbox has to be open when starting vsize header update.
diffstat:
src/lib-storage/index/index-mailbox-size.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 12205b780996 -r 60814596aff2 src/lib-storage/index/index-mailbox-size.c
--- a/src/lib-storage/index/index-mailbox-size.c Mon Sep 28 15:10:02 2015 +0300
+++ b/src/lib-storage/index/index-mailbox-size.c Mon Sep 28 15:10:29 2015 +0300
@@ -102,6 +102,8 @@
{
struct mailbox_vsize_update *update;
+ i_assert(box->opened);
+
update = i_new(struct mailbox_vsize_update, 1);
update->box = box;
update->lock_fd = -1;
More information about the dovecot-cvs
mailing list