dovecot-1.2: virtual: STATUS command on a virtual mailbox crashed.
    dovecot at dovecot.org 
    dovecot at dovecot.org
       
    Tue Sep  9 11:46:21 EEST 2008
    
    
  
details:   http://hg.dovecot.org/dovecot-1.2/rev/414b6a5c35db
changeset: 8179:414b6a5c35db
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Sep 09 11:46:18 2008 +0300
description:
virtual: STATUS command on a virtual mailbox crashed.
diffstat:
1 file changed, 3 insertions(+)
src/plugins/virtual/virtual-sync.c |    3 +++
diffs (13 lines):
diff -r a6ae37414011 -r 414b6a5c35db src/plugins/virtual/virtual-sync.c
--- a/src/plugins/virtual/virtual-sync.c	Tue Sep 09 08:48:51 2008 +0300
+++ b/src/plugins/virtual/virtual-sync.c	Tue Sep 09 11:46:18 2008 +0300
@@ -851,6 +851,9 @@ static int virtual_sync_backend_box(stru
 	struct mailbox_status status;
 	int ret;
 
+	if (!bbox->box->opened)
+		index_storage_mailbox_open(ibox);
+
 	/* if we already did some changes to index, commit them before
 	   syncing starts. */
 	virtual_backend_box_sync_mail_unset(bbox);
    
    
More information about the dovecot-cvs
mailing list