<div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
> +     if (buflen >= 31)<br>
> +             cnt = 31;<br>
>       else<br>
> -             return buflen;<br>
> +             cnt = buflen;<br>
> +<br>
<br>
</div>I could simplify this if/else by:<br>
<br>
       cnt = buflen & 0x1F;<br>
<br>
but I think it will not be readable for other people.<br><br></blockquote>> +<br><div><br>It would also be wrong ...<br><br>32 & 0x1F = 0 ...<br><br>Cheers,<br><br>    Sylvain<br><br> </div></div>