]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
director: Fixed "doveadm director status user@domain" not to hang due to missing LF.
authorTimo Sirainen <tss@iki.fi>
Mon, 30 Nov 2015 19:32:26 +0000 (21:32 +0200)
committerTimo Sirainen <tss@iki.fi>
Mon, 30 Nov 2015 19:32:26 +0000 (21:32 +0200)
src/director/doveadm-connection.c

index 412b6d2207fa6a2a5e9ec890139f2f2983bb1ab2..e2c04502dfcd8380a2f7c8c116aa43e57c7544fe 100644 (file)
@@ -510,7 +510,7 @@ doveadm_cmd_user_lookup(struct doveadm_connection *conn, const char *line)
        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));