Change in osmo-mgw[master]: mgcp_trunk: use enum type for trunk type variable

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/.

dexter gerrit-no-reply at lists.osmocom.org
Thu Jul 2 19:27:22 UTC 2020


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-mgw/+/19109 )


Change subject: mgcp_trunk: use enum type for trunk type variable
......................................................................

mgcp_trunk: use enum type for trunk type variable

The trunk_type variable in struct mgcp_trunk is specified as an int,
however there is an enum mgcp_trunk_type specified. Lets use the enum as
type for trunk_type instead of int.

Related: OS#2659
Change-Id: I8e8b0cf448cfe67ad3b7caab24f301708d2a515f
---
M include/osmocom/mgcp/mgcp_trunk.h
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/09/19109/1

diff --git a/include/osmocom/mgcp/mgcp_trunk.h b/include/osmocom/mgcp/mgcp_trunk.h
index 2bd55e6..c6a0997 100644
--- a/include/osmocom/mgcp/mgcp_trunk.h
+++ b/include/osmocom/mgcp/mgcp_trunk.h
@@ -11,7 +11,7 @@
 	struct mgcp_config *cfg;
 
 	int trunk_nr;
-	int trunk_type;
+	enum mgcp_trunk_type trunk_type;
 
 	char *audio_fmtp_extra;
 	int audio_send_ptime;

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

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I8e8b0cf448cfe67ad3b7caab24f301708d2a515f
Gerrit-Change-Number: 19109
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200702/c3008c89/attachment.htm>


More information about the gerrit-log mailing list