From d6ed10975e710a092bd96b676722da6a375f415e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 15 Aug 2018 16:53:58 +0300 Subject: [PATCH] MXS-2015: Add missing newlines The newlines were missing from a few of the avrorouter responses. --- server/modules/routing/avrorouter/avro_client.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/modules/routing/avrorouter/avro_client.c b/server/modules/routing/avrorouter/avro_client.c index 13eb037ba..05b98f747 100644 --- a/server/modules/routing/avrorouter/avro_client.c +++ b/server/modules/routing/avrorouter/avro_client.c @@ -479,7 +479,7 @@ avro_client_process_command(AVRO_INSTANCE *router, AVRO_CLIENT *client, GWBUF *q } else { - dcb_printf(client->dcb, "ERR NO-FILE File '%s' not found.", client->avro_binfile); + dcb_printf(client->dcb, "ERR NO-FILE File '%s' not found.\n", client->avro_binfile); } } else @@ -825,8 +825,7 @@ static bool avro_client_stream_data(AVRO_CLIENT *client) } else { - fprintf(stderr, "No file specified\n"); - dcb_printf(client->dcb, "ERR avro file not specified"); + dcb_printf(client->dcb, "ERR avro file not specified\n"); } return read_more;