rest_api.c: Add missing \n in log line after error message
Change-Id: If2e9134d827891468df7ae35b89d6dfb798eb0dc
This commit is contained in:
parent
493845d8e4
commit
13385443a3
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue