Change in osmo-ttcn3-hacks[master]: cosmetic: RLCMAC_EncDEc.cc: fix typos in comments
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17985 ) Change subject: cosmetic: RLCMAC_EncDEc.cc: fix typos in comments .. cosmetic: RLCMAC_EncDEc.cc: fix typos in comments Change-Id: Id91ed01759c3e1e2b52f1e35b1f4198fbc052408 --- M library/RLCMAC_EncDec.cc 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved diff --git a/library/RLCMAC_EncDec.cc b/library/RLCMAC_EncDec.cc index 777815f..f4735e9 100644 --- a/library/RLCMAC_EncDec.cc +++ b/library/RLCMAC_EncDec.cc @@ -279,7 +279,7 @@ } /* bit-shift the entire 'src' of length 'length_bytes' by 'offset_bits' - * and store the reuslt to caller-allocated 'buffer'. The shifting is + * and store the result to caller-allocated 'buffer'. The shifting is * done lsb-first. */ static void clone_aligned_buffer_lsbf(unsigned int offset_bits, unsigned int length_bytes, const uint8_t *src, uint8_t *buffer) @@ -938,7 +938,7 @@ int i; if (!in.blocks().is_bound()) { - /* we don't have nay blocks: Add length value (zero) */ + /* we don't have any blocks: Add length value (zero) */ in.mac__hdr().e() = false; /* E=0: extension octet follows */ } else if (in.blocks().size_of() == 1 && in.blocks()[0].hdr() == OMIT_VALUE) { /* If there's only a single block, and that block has no HDR value defined, */ -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17985 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: Id91ed01759c3e1e2b52f1e35b1f4198fbc052408 Gerrit-Change-Number: 17985 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria Gerrit-Reviewer: laforge Gerrit-MessageType: merged
Change in osmo-ttcn3-hacks[master]: cosmetic: RLCMAC_EncDEc.cc: fix typos in comments
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17985 ) Change subject: cosmetic: RLCMAC_EncDEc.cc: fix typos in comments .. Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17985 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: Id91ed01759c3e1e2b52f1e35b1f4198fbc052408 Gerrit-Change-Number: 17985 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria Gerrit-Comment-Date: Fri, 01 May 2020 07:09:00 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-ttcn3-hacks[master]: cosmetic: RLCMAC_EncDEc.cc: fix typos in comments
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17985 ) Change subject: cosmetic: RLCMAC_EncDEc.cc: fix typos in comments .. cosmetic: RLCMAC_EncDEc.cc: fix typos in comments Change-Id: Id91ed01759c3e1e2b52f1e35b1f4198fbc052408 --- M library/RLCMAC_EncDec.cc 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/85/17985/1 diff --git a/library/RLCMAC_EncDec.cc b/library/RLCMAC_EncDec.cc index 777815f..f4735e9 100644 --- a/library/RLCMAC_EncDec.cc +++ b/library/RLCMAC_EncDec.cc @@ -279,7 +279,7 @@ } /* bit-shift the entire 'src' of length 'length_bytes' by 'offset_bits' - * and store the reuslt to caller-allocated 'buffer'. The shifting is + * and store the result to caller-allocated 'buffer'. The shifting is * done lsb-first. */ static void clone_aligned_buffer_lsbf(unsigned int offset_bits, unsigned int length_bytes, const uint8_t *src, uint8_t *buffer) @@ -938,7 +938,7 @@ int i; if (!in.blocks().is_bound()) { - /* we don't have nay blocks: Add length value (zero) */ + /* we don't have any blocks: Add length value (zero) */ in.mac__hdr().e() = false; /* E=0: extension octet follows */ } else if (in.blocks().size_of() == 1 && in.blocks()[0].hdr() == OMIT_VALUE) { /* If there's only a single block, and that block has no HDR value defined, */ -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17985 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: Id91ed01759c3e1e2b52f1e35b1f4198fbc052408 Gerrit-Change-Number: 17985 Gerrit-PatchSet: 1 Gerrit-Owner: pespin Gerrit-MessageType: newchange