THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - i (takeshi)
Attached to Project - sip-router
Summary - htable $sht() not returning $null anymore
Task Type - Bug Report
Category - Module
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - Hello,
I am tasked with updating a machine running this kamailio commit:
commit e9a61dd16dffb6e6e74810431741a297b62524c1
Author: Elena-Ramona Modroiu <ramona(a)asipto.com>
Date: Tue Jul 19 09:46:35 2011 +0200
to latest release.
I got this one:
commit ef66bf4ce961a7379bb21e848f70d03defb8864c
Author: Richard Good <richard.good(a)smilecoms.com>
Date: Fri Dec 20 10:09:35 2013 +0200
Doing tests, i verified that behavior of htable pseudo-variable $sht() has changed:
before, if a key was not found, $null would be returned.
But the latest commit returns 0 (zero) instead.
I don't believe this change was intentional as I consider 0 to be a valid value to be
returned for a lookup.
Regards,
Takeshi.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=383
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.