changeset 12169:8e057c95e44e

quota: When logging about obsolete rule, log also the quota root name.
author Timo Sirainen <tss@iki.fi>
date Thu, 23 Sep 2010 20:00:41 +0100
parents 0569f9f5b754
children a15b0d032c27
files src/plugins/quota/quota.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/quota/quota.c	Thu Sep 23 19:54:26 2010 +0100
+++ b/src/plugins/quota/quota.c	Thu Sep 23 20:00:41 2010 +0100
@@ -435,9 +435,10 @@
 			}
 			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) {