From eb11d2ca49d8b5edabccdf97fd8d2169be3ceec9 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 15 Oct 2009 19:51:14 -0400 Subject: [PATCH] quota-maildir: Don't crash at startup. --HG-- branch : HEAD --- src/plugins/quota/quota-maildir.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/plugins/quota/quota-maildir.c b/src/plugins/quota/quota-maildir.c index 6a25b5d802..913ad0cdbf 100644 --- a/src/plugins/quota/quota-maildir.c +++ b/src/plugins/quota/quota-maildir.c @@ -783,9 +783,6 @@ maildir_quota_namespace_added(struct quota *quota, struct mail_namespace *ns) struct quota_root **roots; unsigned int i, count; - if (strcmp(ns->storage->name, "maildir") != 0) - return; - roots = array_get_modifiable("a->roots, &count); for (i = 0; i < count; i++) { if (roots[i]->backend.name == quota_backend_maildir.name && -- 2.47.3