Try with latest master or 4.0 branch and let me know if it is ok now.
Btw, to be more clear, the "-1"in sizeof() is removing ending '\0' from the defined buffer.
Thanks, Daniel
On 3/11/13 9:26 AM, Daniel-Constantin Mierla wrote:
Hello,
that should be ok, I will push a patch soon, it is related to the fact the maxfwd header is added by presence module in this case.
Cheers, Daniel
On 3/11/13 9:04 AM, Juha Heinanen wrote:
does this make sense in t_msgbuilder.h:
#define MAXFWD_VALUE "70" #define MAXFWD_HEADER "Max-Forwards: " MAXFWD_VALUE CRLF #define MAXFWD_HEADER_LEN (sizeof(MAXFWD_HEADER) - 1)
what is that "-1" leaving CR and removing LF from the length?
-- juha
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev