[OpenSIPS-Devel] [opensips] Make s.int also operate on floats/doubles by truncating them to an int (#836)

Liviu Chircu notifications at github.com
Tue Mar 22 20:24:01 CET 2016


First of all, thanks for the follow-up!

Some quick feedback:

* I completely agree that parsing a NULL / empty string should output 0, and not throw some weird errors (standard `strtol` behaviour). Furthermore, "errors" (or 0 values) are still detectable at script level, should the writer decide to catch them.
* Added a suggestion on improving the patch
* The manual, along with Transformations wiki page, of OpenSIPS 2.2 can be found [here](http://www.opensips.org/Documentation/Manual-2-2). All pages are globally editable - you just need to register an account.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/836#issuecomment-199973785
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160322/33ce7610/attachment.htm>


More information about the Devel mailing list