pespin has uploaded this change for review.

View Change

mgw: Use bool instead of int in local var

Change-Id: Ie46cb2909da2ec4279e1029cfaf7747c45f84b13
---
M src/libosmo-mgcp/mgcp_protocol.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/11/39211/1
diff --git a/src/libosmo-mgcp/mgcp_protocol.c b/src/libosmo-mgcp/mgcp_protocol.c
index 2775d7a..98a0062 100644
--- a/src/libosmo-mgcp/mgcp_protocol.c
+++ b/src/libosmo-mgcp/mgcp_protocol.c
@@ -727,7 +727,7 @@
{
struct mgcp_trunk *trunk = endp->trunk;

- int patch_ssrc = expect_ssrc_change && trunk->force_constant_ssrc;
+ bool patch_ssrc = expect_ssrc_change && trunk->force_constant_ssrc;

rtp->force_aligned_timing = trunk->force_aligned_timing;
rtp->force_constant_ssrc = patch_ssrc ? 1 : 0;

To view, visit change 39211. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Ie46cb2909da2ec4279e1029cfaf7747c45f84b13
Gerrit-Change-Number: 39211
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>