dovecot-2.0: virtual: Assert-crashfix when opening mailbox.
dovecot at dovecot.org
dovecot at dovecot.org
Sun May 17 22:44:06 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/b5889a18fb25
changeset: 9306:b5889a18fb25
user: Timo Sirainen <tss at iki.fi>
date: Sun May 17 15:43:50 2009 -0400
description:
virtual: Assert-crashfix when opening mailbox.
diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
src/plugins/virtual/virtual-sync.c | 3 ++-
diffs (20 lines):
diff -r 34e4af1f5009 -r b5889a18fb25 src/plugins/virtual/virtual-sync.c
--- a/src/plugins/virtual/virtual-sync.c Sun May 17 15:43:03 2009 -0400
+++ b/src/plugins/virtual/virtual-sync.c Sun May 17 15:43:50 2009 -0400
@@ -448,7 +448,6 @@ static int virtual_sync_backend_box_init
trans = mailbox_transaction_begin(bbox->box, 0);
mail = mail_alloc(trans, 0, NULL);
- mail_search_args_init(bbox->search_args, bbox->box, FALSE, NULL);
search_ctx = mailbox_search_init(trans, bbox->search_args, NULL);
/* save the result and keep it updated */
@@ -891,6 +890,8 @@ static int virtual_sync_backend_box(stru
&status) < 0)
return -1;
+ mail_search_args_init(bbox->search_args, bbox->box,
+ FALSE, NULL);
virtual_backend_box_sync_mail_set(bbox);
if (status.uidvalidity != bbox->sync_uid_validity) {
/* UID validity changed since last sync (or this is
More information about the dovecot-cvs
mailing list