Hi, this list deals with SIP related implementation issues. And your 
question is not a SIP related question.
Your question is a technical question related to programming.


On 26/04/13 10:20, ikuzar RABE wrote:
> Hi all,
>
> I work on Ubuntu 10.4.
> I parse the SIP message with strtok_r (My SIP message parser must be
> reentrant). The function prototype is like this:
>
> char *strtok_r(char *str, const char *delim, char **saveptr);
>
> I put this function in a while loop. Each iteration, *saveptr* points to
> the next line in SIP message. but when the end of the message is reached,
> saveptr continues to point to a memory space which does not correspond to
> SIP message.
>
> How do you handle this kind of situation ?
>
> thanks for your help.
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to