<p>Neels Hofmeyr has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/13517">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fix error logging for GSUP route<br><br>The addr may not be nul terminated.<br><br>Change-Id: Ie4def16008af573ed2e1367d9da50c3d2b5a71ef<br>---<br>M src/gsup_send.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/17/13517/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gsup_send.c b/src/gsup_send.c</span><br><span>index b2c4e02..b178f8b 100644</span><br><span>--- a/src/gsup_send.c</span><br><span>+++ b/src/gsup_send.c</span><br><span>@@ -35,7 +35,7 @@</span><br><span> </span><br><span> conn = gsup_route_find(gs, addr, addrlen);</span><br><span> if (!conn) {</span><br><span style="color: hsl(0, 100%, 40%);">- DEBUGP(DLGSUP, "Cannot find route for addr %s\n", addr);</span><br><span style="color: hsl(120, 100%, 40%);">+ DEBUGP(DLGSUP, "Cannot find route for addr %s\n", osmo_quote_str((const char*)addr, addrlen));</span><br><span> msgb_free(msg);</span><br><span> return -ENODEV;</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13517">change 13517</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/13517"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: osmo-hlr </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ie4def16008af573ed2e1367d9da50c3d2b5a71ef </div>
<div style="display:none"> Gerrit-Change-Number: 13517 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>