@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)`.