dovecot-2.2: quota: Fixed quota_rule with non-uppercase INBOX.

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 25 00:18:43 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/f68a955f4c5c
changeset: 16545:f68a955f4c5c
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jun 25 00:10:39 2013 +0300
description:
quota: Fixed quota_rule with non-uppercase INBOX.

diffstat:

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

diffs (12 lines):

diff -r 6e8bbc150fa9 -r f68a955f4c5c src/plugins/quota/quota.c
--- a/src/plugins/quota/quota.c	Mon Jun 24 23:33:59 2013 +0300
+++ b/src/plugins/quota/quota.c	Tue Jun 25 00:10:39 2013 +0300
@@ -564,7 +564,7 @@
 			root_set->force_default_rule = TRUE;
 		} else {
 			rule = array_append_space(&root_set->rules);
-			rule->mailbox_name =
+			rule->mailbox_name = strcasecmp(mailbox_name, "INBOX") == 0 ? "INBOX" :
 				p_strdup(root_set->set->pool, mailbox_name);
 		}
 	}


More information about the dovecot-cvs mailing list