]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Create .INBOX/ to index directory, if it's different.
authorTimo Sirainen <tss@iki.fi>
Mon, 3 May 2004 19:15:51 +0000 (22:15 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 3 May 2004 19:15:51 +0000 (22:15 +0300)
--HG--
branch : HEAD

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

index 09e4c3d92c70178be98ca81c9d8ff0a561f5ee8e..fabe7cc8628b4f2b6ddd614553924ca899402a29 100644 (file)
@@ -376,7 +376,7 @@ static int verify_inbox(struct index_storage *storage)
                        return -1;
 
                /* create the .INBOX directory */
-               inbox = t_strconcat(storage->dir,
+               inbox = t_strconcat(storage->index_dir,
                                    "/"MAILDIR_FS_SEP_S"INBOX", NULL);
                if (mkdir_verify(storage, inbox, TRUE) < 0)
                        return -1;