From 13385443a3ee0350e3b492f4596fb2cc3a02c699 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 20 Feb 2021 17:34:30 +0100 Subject: [PATCH] rest_api.c: Add missing \n in log line after error message Change-Id: If2e9134d827891468df7ae35b89d6dfb798eb0dc --- src/rest_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest_api.c b/src/rest_api.c index 91e7d40..c70d096 100644 --- a/src/rest_api.c +++ b/src/rest_api.c @@ -589,7 +589,7 @@ static int api_cb_message_post(const struct _u_request *req, struct _u_response return U_CALLBACK_COMPLETE; err: jsonstr = json_dumps(json_req, 0); - LOGP(DREST, LOGL_ERROR, "ERROR: %s (%s)", errstr, jsonstr); + LOGP(DREST, LOGL_ERROR, "ERROR: %s (%s)\n", errstr, jsonstr); free(jsonstr); json_decref(json_req); talloc_free(riop);