<p><a href="https://gerrit.osmocom.org/12706">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12706/2/src/mncc.c">File src/mncc.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/12706/2/src/mncc.c@783">Patch Set #2, Line 783:</a> <code style="font-family:monospace,monospace">     if (strncmp(call->source, "+", 1) == 0) {</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Since you're comparing just a single character you can do it directly like: […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I'm /pretty/ sure it is initialised, but I'm not 100% sure what that term means here, technically. </p><p style="white-space: pre-wrap; word-wrap: break-word;">If we actually got to exec'ing this code and call->source has no value, then something is horribly wrong anyway.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12706">change 12706</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/12706"/><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-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Idcfa31aff90e04dd0aa3583957f288889b1bbefe </div>
<div style="display:none"> Gerrit-Change-Number: 12706 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Keith Whyte <keith@rhizomatica.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Keith Whyte <keith@rhizomatica.org> </div>
<div style="display:none"> Gerrit-CC: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 28 Jan 2019 23:58:12 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>