Change in osmo-cbc[master]: rest_api.c: Add missing \n in log line after error message

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sat Feb 20 16:34:54 UTC 2021


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-cbc/+/23009 )


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

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

Change-Id: If2e9134d827891468df7ae35b89d6dfb798eb0dc
---
M src/rest_api.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-cbc refs/changes/09/23009/1

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

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-cbc/+/23009
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-cbc
Gerrit-Branch: master
Gerrit-Change-Id: If2e9134d827891468df7ae35b89d6dfb798eb0dc
Gerrit-Change-Number: 23009
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210220/33374b6d/attachment.htm>


More information about the gerrit-log mailing list