neels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-sip-connector/+/34410?usp=email )
Change subject: sdp_get_sdp_mode(): fix wrong return value ...................................................................... sdp_get_sdp_mode(): fix wrong return value Change-Id: Id27eb82a018293cf54d068877dc222e1c7eab253 --- M src/sdp.c 1 file changed, 10 insertions(+), 1 deletion(-) Approvals: keith: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/src/sdp.c b/src/sdp.c index 7bfcff5..6ef9656 100644 --- a/src/sdp.c +++ b/src/sdp.c @@ -65,7 +65,7 @@ if (!sdp->sdp_media || !sdp->sdp_media->m_mode) { sdp_parser_free(parser); - return sdp_sendrecv; + return false; } *mode = sdp->sdp_media->m_mode; -- To view, visit https://gerrit.osmocom.org/c/osmo-sip-connector/+/34410?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-sip-connector Gerrit-Branch: master Gerrit-Change-Id: Id27eb82a018293cf54d068877dc222e1c7eab253 Gerrit-Change-Number: 34410 Gerrit-PatchSet: 1 Gerrit-Owner: neels <nhofm...@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: keith <ke...@rhizomatica.org> Gerrit-Reviewer: neels <nhofm...@sysmocom.de> Gerrit-Reviewer: pespin <pes...@sysmocom.de> Gerrit-MessageType: merged