Change in osmo-mgw[master]: libosmo-mgcp: fix unused extra argument to printf() in add_fmtp()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Wed Jul 8 07:54:17 UTC 2020


fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-mgw/+/19169 )

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

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

Change-Id: Ie48da20aea7bc1eedc3f8b5b4a708458f0860a25
Closes: CID#208171
---
M src/libosmo-mgcp/mgcp_sdp.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  dexter: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/libosmo-mgcp/mgcp_sdp.c b/src/libosmo-mgcp/mgcp_sdp.c
index f80ebb8..a7478ad 100644
--- a/src/libosmo-mgcp/mgcp_sdp.c
+++ b/src/libosmo-mgcp/mgcp_sdp.c
@@ -496,7 +496,7 @@
 				return -EINVAL;
 		}
 
-		rc = msgb_printf(sdp, "\r\n", fmtp_params[i].payload_type);
+		rc = msgb_printf(sdp, "\r\n");
 		if (rc < 0)
 			return -EINVAL;
 	}

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/19169
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Ie48da20aea7bc1eedc3f8b5b4a708458f0860a25
Gerrit-Change-Number: 19169
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Assignee: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200708/b30f272e/attachment.htm>


More information about the gerrit-log mailing list