dovecot-2.0-sslstream: doveconf: Don't add extra space to "block...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:58:39 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/11708783b5b3
changeset: 10595:11708783b5b3
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jan 28 00:35:11 2010 +0200
description:
doveconf: Don't add extra space to "block  {" for unique blocks.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/config/doveconf.c |    2 +-

diffs (12 lines):

diff -r 2d118c4e6957 -r 11708783b5b3 src/config/doveconf.c
--- a/src/config/doveconf.c	Wed Jan 27 23:44:35 2010 +0200
+++ b/src/config/doveconf.c	Thu Jan 28 00:35:11 2010 +0200
@@ -203,7 +203,7 @@ static int config_connection_request_hum
 					str_append_n(list_prefix, key2, p - key2);
 				else
 					str_append(list_prefix, key2);
-				if (unique_key)
+				if (unique_key && *value != '\0')
 					str_printfa(list_prefix, " %s", value);
 				str_append(list_prefix, " {\n");
 				indent++;


More information about the dovecot-cvs mailing list