Change in osmo-ttcn3-hacks[master]: cosmetic: RLCMAC_EncDEc.cc: fix typos in comments

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

laforge gerrit-no-reply at lists.osmocom.org
Fri May 1 14:39:26 UTC 2020


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 <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200501/7a82e2a3/attachment.htm>


More information about the gerrit-log mailing list