dovecot-2.0: doveconf: Show time settings with "s" suffix to mak...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jan 19 14:40:20 EET 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/e7f3a0e6e2a4
changeset: 10556:e7f3a0e6e2a4
user: Timo Sirainen <tss at iki.fi>
date: Tue Jan 19 14:40:13 2010 +0200
description:
doveconf: Show time settings with "s" suffix to make it clear they're seconds.
diffstat:
1 file changed, 3 insertions(+)
src/config/config-request.c | 3 +++
diffs (13 lines):
diff -r 4d703a15d6b8 -r e7f3a0e6e2a4 src/config/config-request.c
--- a/src/config/config-request.c Tue Jan 19 14:39:39 2010 +0200
+++ b/src/config/config-request.c Tue Jan 19 14:40:13 2010 +0200
@@ -145,6 +145,9 @@ settings_export(struct settings_export_c
case SET_UINT_OCT:
str_printfa(ctx->value, "0%o", *val);
break;
+ case SET_TIME:
+ str_printfa(ctx->value, "%u s", *val);
+ break;
default:
str_printfa(ctx->value, "%u", *val);
break;
More information about the dovecot-cvs
mailing list