Change in osmo-hlr[master]: fix error logging for GSUP route

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Apr 4 13:11:30 UTC 2019


Neels Hofmeyr has uploaded this change for review. ( https://gerrit.osmocom.org/13517


Change subject: fix error logging for GSUP route
......................................................................

fix error logging for GSUP route

The addr may not be nul terminated.

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



  git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/17/13517/1

diff --git a/src/gsup_send.c b/src/gsup_send.c
index b2c4e02..b178f8b 100644
--- a/src/gsup_send.c
+++ b/src/gsup_send.c
@@ -35,7 +35,7 @@
 
 	conn = gsup_route_find(gs, addr, addrlen);
 	if (!conn) {
-		DEBUGP(DLGSUP, "Cannot find route for addr %s\n", addr);
+		DEBUGP(DLGSUP, "Cannot find route for addr %s\n", osmo_quote_str((const char*)addr, addrlen));
 		msgb_free(msg);
 		return -ENODEV;
 	}

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

Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie4def16008af573ed2e1367d9da50c3d2b5a71ef
Gerrit-Change-Number: 13517
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190404/4ab99bc9/attachment.html>


More information about the gerrit-log mailing list