Daniel-Constantin Mierla writes: > coding wise might not be a lot, thus I haven't analyzed all the cases > where functions are evaluated by return code, but it will impact and > break config file as it used to be so far, for example: > > route[x] { > return -1; > } > > if(route(x)) will be true, since if(-1) is true in C
i meant get rid of C interpretation when if evaluates the condition, i.e., do not covert condition to anything, but just test if condition is < 0 for false and > 0 for true. -- juha _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users