Change in osmo-pcu[master]: csn1: Fix Several typos & whitespace

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 Mar 26 18:57:10 UTC 2020


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


Change subject: csn1: Fix Several typos & whitespace
......................................................................

csn1: Fix Several typos & whitespace

Change-Id: Ibe31d52d4a5a4015196d73681082f68b99a80c77
---
M src/csn1.c
1 file changed, 3 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/30/17630/1

diff --git a/src/csn1.c b/src/csn1.c
index 636ca3a..0a532f1 100644
--- a/src/csn1.c
+++ b/src/csn1.c
@@ -51,7 +51,6 @@
 
 
 /* Returns no_of_bits (up to 8) masked with 0x2B */
-
 static guint8
 get_masked_bits8(struct bitvec *vector, unsigned *readIndex, gint bit_offset,  const gint no_of_bits)
 {
@@ -1144,7 +1143,7 @@
               no_of_bits -= 8;
             }
             if (no_of_bits > 0)
-            { 
+            {
 	      *pui8 = bitvec_read_field(vector, readIndex, no_of_bits);
               LOGPC(DCSN1, LOGL_DEBUG, "%s = %u | ", pDescr->sz , (unsigned)*pui8);
               pui8++;
@@ -1183,7 +1182,7 @@
         }
         if (remaining_bits_len < 0)
         {
-          return ProcessError(readIndex,"csnStreamDissector", CSN_ERROR_NEED_MORE_BITS_TO_UNPACK, pDescr);
+          return ProcessError(readIndex,"csnStreamDecoder", CSN_ERROR_NEED_MORE_BITS_TO_UNPACK, pDescr);
         }
 
         /* Padding was successfully extracted or it was empty */
@@ -2463,7 +2462,7 @@
         }
         if (remaining_bits_len < 0)
         {
-          return ProcessError(writeIndex,"csnStreamDissector", CSN_ERROR_NEED_MORE_BITS_TO_UNPACK, pDescr);
+          return ProcessError(writeIndex,"csnStreamEncoder", CSN_ERROR_NEED_MORE_BITS_TO_UNPACK, pDescr);
         }
 
         /* Padding was successfully extracted or it was empty */

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ibe31d52d4a5a4015196d73681082f68b99a80c77
Gerrit-Change-Number: 17630
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/20200326/99653e43/attachment.htm>


More information about the gerrit-log mailing list