<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
that fix was actually changing:<br>
<br>
if (c < '0' && c > '9') return -1;<br>
<br>
to:<br>
<br>
if (c < '0' || c > '9') return -1;<br>
<br>
The rest was auto-indentation by the editor.<br>
<br>
Providing the details of like or pasting the code where you refer
would make it easier to understand what do you mean, but I guess you
are referring to the line:<br>
<br>
for (i = 1; i <= _user->len; i++) {<br>
<br>
Is it?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 12/01/15 15:34, Seudin Kasumovic
wrote:<br>
</div>
<blockquote
cite="mid:CAHbz3+2gpFJOFM7p6Oq+tFfLdH2Sykbfxec2u6z7niFpiK3_kg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>Hi,</div>
<div><br>
</div>
<div>The fix below is wrong, condition must be '<' instead of
'<='.</div>
<div><br>
</div>
<a moz-do-not-send="true"
href="https://github.com/kamailio/kamailio/commit/fbcfa198a2c89868fa021f6a63774425e480b27b">https://github.com/kamailio/kamailio/commit/fbcfa198a2c89868fa021f6a63774425e480b27b</a>
<div>and backported in 4.2</div>
<div><a moz-do-not-send="true"
href="https://github.com/kamailio/kamailio/commit/2d1032b3c8a1184357615b37da99dfd76526afa7#diff-d7b03e3862e552e90fe6f958ec0f3a12">https://github.com/kamailio/kamailio/commit/2d1032b3c8a1184357615b37da99dfd76526afa7#diff-d7b03e3862e552e90fe6f958ec0f3a12</a><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>Regards,</div>
-- <br>
<div class="gmail_signature">Seudin Kasumovic<br>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>