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

-- 
VoIP Embedded, Inc.
http://www.voipembedded.com

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to