From: Timo Sirainen Date: Wed, 14 Apr 2010 15:53:36 +0000 (+0300) Subject: raw: Fixed opening raw mailbox with filename. X-Git-Tag: 2.0.beta5~121 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a09aefe16dc9b4edaaaaabbe37c72c2b7907e613;p=thirdparty%2Fdovecot%2Fcore.git raw: Fixed opening raw mailbox with filename. --HG-- branch : HEAD --- diff --git a/src/lib-storage/index/raw/raw-storage.c b/src/lib-storage/index/raw/raw-storage.c index 827923d0d5..cac1538190 100644 --- a/src/lib-storage/index/raw/raw-storage.c +++ b/src/lib-storage/index/raw/raw-storage.c @@ -68,6 +68,7 @@ static int raw_mailbox_open(struct mailbox *box) return index_storage_mailbox_open(box, FALSE); } + box->path = box->name; mbox->have_filename = TRUE; fd = open(box->path, O_RDONLY); if (fd == -1) {