dovecot-2.0: quota-maildir: Don't crash at startup.

dovecot at dovecot.org dovecot at dovecot.org
Fri Oct 16 02:51:22 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/646a7173ad3d
changeset: 10076:646a7173ad3d
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Oct 15 19:51:14 2009 -0400
description:
quota-maildir: Don't crash at startup.

diffstat:

1 file changed, 3 deletions(-)
src/plugins/quota/quota-maildir.c |    3 ---

diffs (13 lines):

diff -r 7f77bc5a866c -r 646a7173ad3d src/plugins/quota/quota-maildir.c
--- a/src/plugins/quota/quota-maildir.c	Thu Oct 15 18:31:11 2009 -0400
+++ b/src/plugins/quota/quota-maildir.c	Thu Oct 15 19:51:14 2009 -0400
@@ -783,9 +783,6 @@ maildir_quota_namespace_added(struct quo
 	struct quota_root **roots;
 	unsigned int i, count;
 
-	if (strcmp(ns->storage->name, "maildir") != 0)
-		return;
-
 	roots = array_get_modifiable(&quota->roots, &count);
 	for (i = 0; i < count; i++) {
 		if (roots[i]->backend.name == quota_backend_maildir.name &&


More information about the dovecot-cvs mailing list