[sr-dev] [kamailio/kamailio] core: add new param sip_parser_oneline (PR #2904)

Daniel-Constantin Mierla notifications at github.com
Fri Oct 29 15:04:28 CEST 2021

@miconda commented on this pull request.

>  	}
 	if((tmp > buffer) && (tmp < end)) {
 		LM_ERR("parse error, parsed so far:<%.*s>\n", (int)(tmp - buffer),
-				ZSW(buffer));
+				ZSW(ksr_buf_oneline(buffer, (int)strlen(buffer))));

Similar, `(int)(tmp - buffer)` instead of `(int)strlen(buffer)`.

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...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211029/7afec3f0/attachment-0001.htm>

More information about the sr-dev mailing list