<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] -> [route.c:1151]: (style) Same expression on both sides of '>'.<br>
[route.c:1161] -> [route.c:1161]: (style) Same expression on both sides of '>='.<br>
[route.c:1171] -> [route.c:1171]: (style) Same expression on both sides of '<'. [route.c:1181] -> [route.c:1181]: (style) Same expression on both sides of '<='.</p>
<p>Source code for the first one is</p>
<pre><code> else if(rt==0 && s1->len>s1->len)
</code></pre>
<p>Suggest code rework.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<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>