Don't forget to backport.
Thanks,
OvidiuOn Mar 15, 2016 8:01 AM, "Daniel-Constantin Mierla" <miconda@gmail.com> wrote:
Thanks, shifted some code in master to get the functions in the core and
reuse them.
Cheers,
Daniel
On 14/03/16 22:18, Ovidiu Sas wrote:
> tps_msg.c: In function "tps_pack_request":
> tps_msg.c:384:5: warning: implicit declaration of function "strnstr"
> [-Wimplicit-function-declaration]
> if(strnstr(ptsd->bs_contact.s, ";r2=on",
> ^
>
> strnstr is not available on linux.
> A local implementation exists in tm/t_msgbuilder.c: _strnstr
> Another one in sdpops/sdpops_mod.c: strnistr
> Probably there should be one single implementation in core available
> for all modules.
>
> -ovidiu
>
--
Daniel-Constantin Mierla
http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
-- Daniel-Constantin Mierla http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com