dovecot-2.0: quota: When logging about obsolete rule, log also t...

dovecot at dovecot.org dovecot at dovecot.org
Thu Sep 23 22:00:50 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/8e057c95e44e
changeset: 12169:8e057c95e44e
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Sep 23 20:00:41 2010 +0100
description:
quota: When logging about obsolete rule, log also the quota root name.

diffstat:

 src/plugins/quota/quota.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 0569f9f5b754 -r 8e057c95e44e src/plugins/quota/quota.c
--- 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) {


More information about the dovecot-cvs mailing list