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
Mon Nov 26 11:20:59 UTC 2018


Max has submitted this change and it was merged. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  Pau Espin Pedrol: Looks good to me, approved



diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c
index ed18a2f..1121d07 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: %d (%s)\n", ret, 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: merged
Gerrit-Change-Id: I49bb613b416d549f554fd9d23cd37b63954324db
Gerrit-Change-Number: 11910
Gerrit-PatchSet: 2
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181126/14e943c7/attachment.htm>


More information about the gerrit-log mailing list