From dede43d0db1afa6a7ff12ca8ffd1313564d8005e Mon Sep 17 00:00:00 2001 From: Timo Sirainen <timo.sirainen@open-xchange.com> Date: Fri, 29 Dec 2023 13:37:59 -0500 Subject: [PATCH] testsuite: Adjust to mail_storage_create() API change --- src/testsuite/testsuite-mailstore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/testsuite/testsuite-mailstore.c b/src/testsuite/testsuite-mailstore.c index d685148c1..b704f94ce 100644 --- a/src/testsuite/testsuite-mailstore.c +++ b/src/testsuite/testsuite-mailstore.c @@ -64,6 +64,7 @@ void testsuite_mailstore_init(void) struct mail_user *mail_user_dovecot, *mail_user; struct mail_namespace *ns; struct mail_namespace_settings *ns_set; + struct mail_storage *storage; const char *tmpdir, *error, *cwd; tmpdir = testsuite_tmp_dir_get(); @@ -110,7 +111,7 @@ void testsuite_mailstore_init(void) ns->flags |= NAMESPACE_FLAG_INBOX_USER; ns->set = ns_set; - if (mail_storage_create(ns, mail_user->event, 0, &error) < 0) + if (mail_storage_create(ns, mail_user->event, 0, &storage, &error) < 0) i_fatal("Couldn't create testsuite storage: %s", error); if (mail_namespaces_init_finish(ns, &error) < 0) i_fatal("Couldn't create testsuite namespace: %s", error); -- GitLab