[sr-dev] [kamailio] modules/htable: improves error message when loading from database (#220)

Daniel-Constantin Mierla notifications at github.com
Thu Jun 25 16:31:06 CEST 2015


One more I just noticed: if the .type!=DB1_STRING, it assume is DB1_STR, because it is printing that value, but can be any other type, like DB1_INT and then there will be a crash.

Printing type is ok, but before the second LM_ERR has to be a check on the type before printing some specific fields.

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/220#issuecomment-115276701
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150625/9977e730/attachment-0001.html>


More information about the sr-dev mailing list