[sr-dev] [kamailio/kamailio] secfilter: changed char* by str in RPC function params (#1787)
notifications at github.com
Mon Jan 7 11:45:52 CET 2019
Just a side note for the future: passing structure variables as function parameters is not optimized if the structure is large (some compilers and static analyzers will complain). `str` is a small structure and it is fine, so not something that must to change here. Otherwise is recommended to pass the address (the pointer). What I mean is to have:
static int get_type(str *ctype)
static int get_type(str ctype)
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-dev