Change in osmo-pcu[master]: csn1_dec.c: Fix stored bit in CSN_NEXT_EXIST_LH

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
Wed Oct 20 15:21:50 UTC 2021


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


Change subject: csn1_dec.c: Fix stored bit in CSN_NEXT_EXIST_LH
......................................................................

csn1_dec.c: Fix stored bit in CSN_NEXT_EXIST_LH

Fixup for previous patch, which forgot to update the pui using the new
variable, as done already in the same patch for M_NEXT_EXIST.

Change-Id: I92a04c708bcc6c15348324321e8890361bbc5c31
Fixes: 72cdb30ee2b1c0d71ff6d9583d51f46b2e5fdcea
---
M src/csn1_dec.c
1 file changed, 1 insertion(+), 1 deletion(-)



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

diff --git a/src/csn1_dec.c b/src/csn1_dec.c
index fa1f0c3..6892dde 100644
--- a/src/csn1_dec.c
+++ b/src/csn1_dec.c
@@ -996,7 +996,7 @@
           }
         }
         LOGPC(DCSN1, LOGL_DEBUG, "%s = %u%s | ", pDescr->sz , (unsigned)fExist, fExist && isnull ? " (NULL)" : "");
-        *pui8++   = fExist;
+        *pui8++   = !isnull;
         remaining_bits_len -= 1;
 
         bit_offset++;

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I92a04c708bcc6c15348324321e8890361bbc5c31
Gerrit-Change-Number: 25842
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/20211020/ef018517/attachment.htm>


More information about the gerrit-log mailing list