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

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


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 <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200430/f3e55284/attachment.htm>


More information about the gerrit-log mailing list