THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#93 - warn about implicit type conversions
User who did this - Andrew Pogrebennyk (marduk)
----------
I vote for this, otherwise it's easy to run into the problem like:
get_profile_size("caller","$avp(s:username)","$avp(i:22)");
if($avp(i:22) >= $avp(s:sim_calls)) {
....
if there are 2 active calls for the user and concurrency limit is 11, string comparison
will results in 2 > 11.
should be:
if($avp(i:22) >= $(avp(s:sim_calls){s.int})) {
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=93#comment223
You are receiving this message because you have requested it from the Flyspray bugtracking
system. If you did not expect this message or don't want to receive mails in future,
you can change your notification settings at the URL shown above.