]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: One more crashfix for recent maildir_name/mailbox_dir_name change.
authorTimo Sirainen <tss@iki.fi>
Thu, 2 Feb 2012 14:26:33 +0000 (16:26 +0200)
committerTimo Sirainen <tss@iki.fi>
Thu, 2 Feb 2012 14:26:33 +0000 (16:26 +0200)
src/lib-storage/mail-storage.c

index faee3d1b627a751bbc2dd8b8effd12096e3eb97f..4c3dbe74668355b1e12b42cb2fac3219bbf1387b 100644 (file)
@@ -324,6 +324,8 @@ int mail_storage_create(struct mail_namespace *ns, const char *driver,
        }
 
        memset(&list_set, 0, sizeof(list_set));
+       list_set.mailbox_dir_name = "";
+       list_set.maildir_name = "";
        if (data == NULL) {
                /* autodetect */
        } else if (driver != NULL && strcmp(driver, "shared") == 0) {