dovecot-2.2: quota: Fix to previous wildcard change

dovecot at dovecot.org dovecot at dovecot.org
Mon Dec 9 15:42:35 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/feb656fd212e
changeset: 17054:feb656fd212e
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Dec 09 15:42:20 2013 +0200
description:
quota: Fix to previous wildcard change

diffstat:

 src/plugins/quota/quota.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7a7898ffe87f -r feb656fd212e src/plugins/quota/quota.c
--- a/src/plugins/quota/quota.c	Mon Dec 09 00:02:58 2013 +0200
+++ b/src/plugins/quota/quota.c	Mon Dec 09 15:42:20 2013 +0200
@@ -385,7 +385,7 @@
 	struct quota_rule *rule;
 
 	array_foreach_modifiable(&root_set->rules, rule) {
-		if (wildcard_match(name, rule->mailbox_mask) == 0)
+		if (wildcard_match(name, rule->mailbox_mask))
 			return rule;
 	}
 	return NULL;


More information about the dovecot-cvs mailing list