dovecot-1.1: "Invalid quota rule" didn't specify the error message

dovecot at dovecot.org dovecot at dovecot.org
Wed Mar 19 07:34:04 EET 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/a2bc615e026d
changeset: 7424:a2bc615e026d
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Mar 19 07:32:47 2008 +0200
description:
"Invalid quota rule" didn't specify the error message

diffstat:

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

diffs (14 lines):

diff -r bd54359bfb3a -r a2bc615e026d src/plugins/quota/quota-plugin.c
--- a/src/plugins/quota/quota-plugin.c	Sun Mar 16 12:28:58 2008 +0200
+++ b/src/plugins/quota/quota-plugin.c	Wed Mar 19 07:32:47 2008 +0200
@@ -31,8 +31,8 @@ static void quota_root_add_rules(const c
 			break;
 
 		if (quota_root_add_rule(root, rule, &error) < 0) {
-			i_fatal("Quota root %s: Invalid rule: %s",
-				root_name, rule);
+			i_fatal("Quota root %s: Invalid rule %s: %s",
+				root_name, rule, error);
 		}
 		rule_name = t_strdup_printf("%s_RULE%d", root_name, i);
 	}


More information about the dovecot-cvs mailing list