changeset 19437:ac30316bed82

director: Fixed "doveadm director status user@domain" not to hang due to missing LF.
author Timo Sirainen <tss@iki.fi>
date Mon, 30 Nov 2015 21:32:26 +0200
parents 326711633532
children f643e85f42ec
files src/director/doveadm-connection.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/director/doveadm-connection.c	Mon Nov 30 13:15:44 2015 +0200
+++ b/src/director/doveadm-connection.c	Mon Nov 30 21:32:26 2015 +0200
@@ -510,7 +510,7 @@
 	host = mail_host_get_by_hash(conn->dir->orig_config_hosts,
 				     username_hash, tag);
 	if (host == NULL)
-		str_append(str, "\t");
+		str_append(str, "\t\n");
 	else
 		str_printfa(str, "\t%s\n", net_ip2addr(&host->ip));
 	o_stream_nsend(conn->output, str_data(str), str_len(str));