On 03.09.2009 18:39 Uhr, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
I can make a patch so to return true for PV is
they have a value with
len!=0, if feels to be right for the rest -- it is what I would expect
as well.
that would be great.
I see that
if("somestring")
is false always as well. We should get to a common/coherent behavior for
all cases, not only for PVs -- other opinions?
For me, a string that has len>0 should return true in above condition as
well as int that is !=0.
Cheers,
Daniel
However, maybe
Andrei can detail more about the logic behind.
i hope there isn't any :-).
-- juha
_______________________________________________
sr-dev mailing list
sr-dev(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
Daniel-Constantin Mierla
*
http://www.asipto.com/