Skip to content

Commit

Permalink
rtpengine: fix zero-length log placeholder
Browse files Browse the repository at this point in the history
(cherry picked from commit 740afac)
  • Loading branch information
l2dy authored and miconda committed Mar 27, 2020
1 parent 6ac87db commit 6b50528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rtpengine/rtpengine_funcs.c
Expand Up @@ -231,7 +231,7 @@ int extract_body(struct sip_msg *msg, str *body )
/* p2 is text limit for application parsing */
rest = eat_line(p1 + mpdel.len + 2, p2 - p1 - mpdel.len - 2);
if ( rest > p2 ) {
LM_ERR("Unparsable <%.*s>\n", (int)(p1-p1), p1);
LM_ERR("Unparsable <%.*s>\n", (int)(p2-p1), p1);
return -1;
}
while( rest<p2 ) {
Expand Down

0 comments on commit 6b50528

Please sign in to comment.