]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
"Invalid quota rule" didn't specify the error message
authorTimo Sirainen <tss@iki.fi>
Wed, 19 Mar 2008 05:32:47 +0000 (07:32 +0200)
committerTimo Sirainen <tss@iki.fi>
Wed, 19 Mar 2008 05:32:47 +0000 (07:32 +0200)
--HG--
branch : HEAD

src/plugins/quota/quota-plugin.c

index f62875ef178fc3f52aa04f92071d853c0285ed55..da5c0112ac805bb43323699a0d91bb113a541d63 100644 (file)
@@ -31,8 +31,8 @@ static void quota_root_add_rules(const char *root_name,
                        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);
        }