<p>I just ran the source code of opensips-1.10.0 through<br>
the static analyser cppcheck. It said many things,<br>
including</p>

<p>[route.c:1151] -&gt; [route.c:1151]: (style) Same expression on both sides of '&gt;'.<br>
[route.c:1161] -&gt; [route.c:1161]: (style) Same expression on both sides of '&gt;='.<br>
[route.c:1171] -&gt; [route.c:1171]: (style) Same expression on both sides of '&lt;'. [route.c:1181] -&gt; [route.c:1181]: (style) Same expression on both sides of '&lt;='.</p>

<p>Source code for the first one is</p>

<pre><code>        else if(rt==0 &amp;&amp; s1-&gt;len&gt;s1-&gt;len)
</code></pre>

<p>Suggest code rework.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href='https://github.com/OpenSIPS/opensips/issues/146'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/cHRwG-eeZpfKR_UBFXzvRNOlAw28h9h_tD17QlzQweb_CvhFEMy2TRH9XLQoCo7a.gif' height='1' width='1'></p>