<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-sip-connector/+/22633">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mncc: Log write error code<br><br>Change-Id: If7b49bee6fec3a188c978c0606c524776a577927<br>---<br>M src/mncc.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-sip-connector refs/changes/33/22633/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/mncc.c b/src/mncc.c</span><br><span>index abfa01b..6d42fde 100644</span><br><span>--- a/src/mncc.c</span><br><span>+++ b/src/mncc.c</span><br><span>@@ -163,7 +163,7 @@</span><br><span>        rc = write(conn->fd.fd, &rtp, sizeof(rtp));</span><br><span>   LOGP(DMNCC, LOGL_DEBUG, "MNCC sent message type: %s\n", osmo_mncc_name(rtp->msg_type));</span><br><span>         if (rc != sizeof(*rtp)) {</span><br><span style="color: hsl(0, 100%, 40%);">-               LOGP(DMNCC, LOGL_ERROR, "Failed to send message for call(%u)\n", rtp->callref);</span><br><span style="color: hsl(120, 100%, 40%);">+          LOGP(DMNCC, LOGL_ERROR, "Failed to send message for call(%u): %d\n", rtp->callref, rc);</span><br><span>                 close_connection(conn);</span><br><span>      }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-sip-connector/+/22633">change 22633</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/c/osmo-sip-connector/+/22633"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-sip-connector </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: If7b49bee6fec3a188c978c0606c524776a577927 </div>
<div style="display:none"> Gerrit-Change-Number: 22633 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>