changeset 10556:e7f3a0e6e2a4 HEAD

doveconf: Show time settings with "s" suffix to make it clear they're seconds.
author Timo Sirainen <tss@iki.fi>
date Tue, 19 Jan 2010 14:40:13 +0200
parents 4d703a15d6b8
children 907dc8769491
files src/config/config-request.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 				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;