From 0821bb9ec05abb7192c660963e4a055d151705f4 Mon Sep 17 00:00:00 2001 From: Baptiste Assmann Date: Thu, 21 Jan 2016 00:20:50 +0100 Subject: [PATCH] MINOR: server state: missing LF (\n) on error message printed when parsing server state file There is no LF characters printed at the end of the error message returned by the function when applying server state found in a file. --- src/server.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/server.c b/src/server.c index a76ca6b04..f465e16ce 100644 --- a/src/server.c +++ b/src/server.c @@ -2167,9 +2167,11 @@ static void srv_update_state(struct server *srv, int version, char **params) } out: - if (msg->len) + if (msg->len) { + chunk_appendf(msg, "\n"); Warning("server-state application failed for server '%s/%s'%s", srv->proxy->id, srv->id, msg->str); + } } /* This function parses all the proxies and only take care of the backends (since we're looking for server)