libosmo-mgcp: fix unused extra argument to printf() in add_fmtp()

Change-Id: Ie48da20aea7bc1eedc3f8b5b4a708458f0860a25
Closes: CID#208171
This commit is contained in:
Vadim Yanitskiy 2020-07-07 14:09:45 +07:00 committed by fixeria
parent 6fbbeec064
commit b7d395d83a
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ static int add_fmtp(struct msgb *sdp, struct sdp_fmtp_param *fmtp_params, unsign
return -EINVAL;
}
rc = msgb_printf(sdp, "\r\n", fmtp_params[i].payload_type);
rc = msgb_printf(sdp, "\r\n");
if (rc < 0)
return -EINVAL;
}