Change in libosmocore[master]: ctrl: print textual error on IPA parsing failure

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/.

Max gerrit-no-reply at lists.osmocom.org
Fri Nov 23 22:07:22 UTC 2018


Max has uploaded this change for review. ( https://gerrit.osmocom.org/11910


Change subject: ctrl: print textual error on IPA parsing failure
......................................................................

ctrl: print textual error on IPA parsing failure

Change-Id: I49bb613b416d549f554fd9d23cd37b63954324db
---
M src/ctrl/control_if.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/10/11910/1

diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c
index ed18a2f..093fb24 100644
--- a/src/ctrl/control_if.c
+++ b/src/ctrl/control_if.c
@@ -360,7 +360,7 @@
 		 * nothing left to do now. */
 		return 0;
 	} else if (ret < 0) {
-		LOGP(DLCTRL, LOGL_ERROR, "Failed to parse ip access message: %d\n", ret);
+		LOGP(DLCTRL, LOGL_ERROR, "Failed to parse ip access message: %s\n", strerror(-ret));
 		return 0;
 	}
 

-- 
To view, visit https://gerrit.osmocom.org/11910
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I49bb613b416d549f554fd9d23cd37b63954324db
Gerrit-Change-Number: 11910
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181123/f57aae74/attachment.htm>


More information about the gerrit-log mailing list