]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
quota: When logging about obsolete rule, log also the quota root name.
authorTimo Sirainen <tss@iki.fi>
Thu, 23 Sep 2010 19:00:41 +0000 (20:00 +0100)
committerTimo Sirainen <tss@iki.fi>
Thu, 23 Sep 2010 19:00:41 +0000 (20:00 +0100)
src/plugins/quota/quota.c

index 92c59cedb28603121021c32a2aaad28b590d5b89..e4f64de717f70eefa2c729de8b0efc348d42fe21 100644 (file)
@@ -435,9 +435,10 @@ quota_rule_parse_limits(struct quota_root_settings *root_set,
                        }
                        value++;
                } else if (*value != '-' && relative_rule) {
-                       i_warning("quota: obsolete configuration for rule '%s' "
+                       i_warning("quota root %s: "
+                                 "obsolete configuration for rule '%s' "
                                  "should be changed to '%s=+%s'",
-                                 *args, key, value);
+                                 root_set->name, *args, key, value);
                }
 
                if (strcmp(key, "storage") == 0) {