rest_api.c: Add missing \n in log line after error message

Change-Id: If2e9134d827891468df7ae35b89d6dfb798eb0dc
This commit is contained in:
Harald Welte 2021-02-20 17:34:30 +01:00
parent 493845d8e4
commit 13385443a3
1 changed files with 1 additions and 1 deletions

View File

@ -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);