Change in osmo-ttcn3-hacks[master]: RLCMAC_EncDEc.cc: Use copied structure as other parts of the function

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

pespin gerrit-no-reply at lists.osmocom.org
Thu Apr 30 18:16:15 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17989 )


Change subject: RLCMAC_EncDEc.cc: Use copied structure as other parts of the function
......................................................................

RLCMAC_EncDEc.cc: Use copied structure as other parts of the function

Change-Id: Iffe45b3d220c0f95f1fdb54e1b90f0a0cef88ee3
---
M library/RLCMAC_EncDec.cc
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/89/17989/1

diff --git a/library/RLCMAC_EncDec.cc b/library/RLCMAC_EncDec.cc
index 88138c6..f5564d8 100644
--- a/library/RLCMAC_EncDec.cc
+++ b/library/RLCMAC_EncDec.cc
@@ -1078,13 +1078,13 @@
 
 	switch (in.mac__hdr().header__type()) {
 	case EgprsHeaderType::RLCMAC__HDR__TYPE__1:
-		enc__RlcmacUlEgprsDataHeader_type1(si.mac__hdr(), ttcn_buffer);
+		enc__RlcmacUlEgprsDataHeader_type1(in.mac__hdr(), ttcn_buffer);
 		break;
 	case EgprsHeaderType::RLCMAC__HDR__TYPE__2:
-		enc__RlcmacUlEgprsDataHeader_type2(si.mac__hdr(), ttcn_buffer);
+		enc__RlcmacUlEgprsDataHeader_type2(in.mac__hdr(), ttcn_buffer);
 		break;
 	case EgprsHeaderType::RLCMAC__HDR__TYPE__3:
-		enc__RlcmacUlEgprsDataHeader_type3(si.mac__hdr(), ttcn_buffer);
+		enc__RlcmacUlEgprsDataHeader_type3(in.mac__hdr(), ttcn_buffer);
 	default:
 		break; /* TODO: error */
 	}

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iffe45b3d220c0f95f1fdb54e1b90f0a0cef88ee3
Gerrit-Change-Number: 17989
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200430/9b82e742/attachment.htm>


More information about the gerrit-log mailing list