]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
raw: Fixed opening raw mailbox with filename.
authorTimo Sirainen <tss@iki.fi>
Wed, 14 Apr 2010 15:53:36 +0000 (18:53 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 14 Apr 2010 15:53:36 +0000 (18:53 +0300)
--HG--
branch : HEAD

src/lib-storage/index/raw/raw-storage.c

index 827923d0d5fa0ea1f1a741aac5ca56e6c8f091ea..cac1538190105bc988dd9297ba0a0cde747d8de4 100644 (file)
@@ -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) {