]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveconf: Don't add extra space to "block {" for unique blocks.
authorTimo Sirainen <tss@iki.fi>
Wed, 27 Jan 2010 22:35:11 +0000 (00:35 +0200)
committerTimo Sirainen <tss@iki.fi>
Wed, 27 Jan 2010 22:35:11 +0000 (00:35 +0200)
--HG--
branch : HEAD

src/config/doveconf.c

index 4247d92c3eadb95d7d76b03df9beac8712b0f925..b488dd3c887a7002acf6253ef6b4222cdf1086ed 100644 (file)
@@ -203,7 +203,7 @@ static int config_connection_request_human(struct ostream *output,
                                        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++;