From f6d63a21010540d3ddf08f2e7664ffca3ea70489 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 2 Sep 2010 17:28:10 +0100 Subject: [PATCH] lib-storage: Fail earlier if shared namespace prefix contains modifiers. --- src/lib-storage/index/shared/shared-storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib-storage/index/shared/shared-storage.c b/src/lib-storage/index/shared/shared-storage.c index 3667aa1c19..480c078c21 100644 --- a/src/lib-storage/index/shared/shared-storage.c +++ b/src/lib-storage/index/shared/shared-storage.c @@ -65,7 +65,7 @@ shared_storage_create(struct mail_storage *_storage, struct mail_namespace *ns, if (*p != '%') continue; - key = var_get_key(p + 1); + key = p[1]; if (key == 'u' || key == 'n') have_username = TRUE; else if (key != '%' && key != 'd') -- 2.47.3