changeset 7424:a2bc615e026d HEAD

"Invalid quota rule" didn't specify the error message
author Timo Sirainen <tss@iki.fi>
date Wed, 19 Mar 2008 07:32:47 +0200
parents bd54359bfb3a
children 1da16dbcacf7
files src/plugins/quota/quota-plugin.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 			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);
 	}