From: Timo Sirainen Date: Mon, 9 Dec 2013 13:42:20 +0000 (+0200) Subject: quota: Fix to previous wildcard change X-Git-Tag: 2.2.10~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ff8e48276d0aeda2643fba0c36f6c63a070522b;p=thirdparty%2Fdovecot%2Fcore.git quota: Fix to previous wildcard change --- diff --git a/src/plugins/quota/quota.c b/src/plugins/quota/quota.c index 89310be382..778433296a 100644 --- a/src/plugins/quota/quota.c +++ b/src/plugins/quota/quota.c @@ -385,7 +385,7 @@ quota_root_rule_find(struct quota_root_settings *root_set, const char *name) 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;