[Kamailio-Users] Logical operators

Antonio Reale ant.reale at gmail.com
Wed Jan 13 15:01:56 CET 2010


2010/1/13 Daniel-Constantin Mierla <miconda at gmail.com>:
>
> ok, anyhow is good to use paranthesis around locgical expression to set
> priority, especially with || (or), e.g.,
>
> if( ( a || b) && (c || d) )

Sure. I also tried that, but I missed the correct logic, so the
behaviour was not as expected.

>
> Cheers,
> Daniel

Thanks. Regards.

-- 
Antonio




More information about the sr-users mailing list