dovecot-2.0: raw: Fixed opening raw mailbox with filename.

dovecot at dovecot.org dovecot at dovecot.org
Wed Apr 14 18:53:45 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/eacb5fd16599
changeset: 11153:eacb5fd16599
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Apr 14 18:53:36 2010 +0300
description:
raw: Fixed opening raw mailbox with filename.

diffstat:

 src/lib-storage/index/raw/raw-storage.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r e019febd7eb3 -r eacb5fd16599 src/lib-storage/index/raw/raw-storage.c
--- a/src/lib-storage/index/raw/raw-storage.c	Wed Apr 14 18:29:15 2010 +0300
+++ b/src/lib-storage/index/raw/raw-storage.c	Wed Apr 14 18:53:36 2010 +0300
@@ -68,6 +68,7 @@
 		return index_storage_mailbox_open(box, FALSE);
 	}
 
+	box->path = box->name;
 	mbox->have_filename = TRUE;
 	fd = open(box->path, O_RDONLY);
 	if (fd == -1) {


More information about the dovecot-cvs mailing list