diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-10-20 17:21:34 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-10-20 17:21:34 +0200 |
commit | 9ecdc11eb6b983748ae2fd6a1d07849c8106826f (patch) | |
tree | f482fd5812ee65ac4e7747a5709f3d89cc3b3682 | |
parent | 1859ec38cc4f4e3788e495a100fdec3787d25020 (diff) |
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
-rw-r--r-- | src/csn1_dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csn1_dec.c b/src/csn1_dec.c index fa1f0c39..6892dde2 100644 --- a/src/csn1_dec.c +++ b/src/csn1_dec.c @@ -996,7 +996,7 @@ csnStreamDecoder(csnStream_t* ar, const CSN_DESCR* pDescr, struct bitvec *vector } } LOGPC(DCSN1, LOGL_DEBUG, "%s = %u%s | ", pDescr->sz , (unsigned)fExist, fExist && isnull ? " (NULL)" : ""); - *pui8++ = fExist; + *pui8++ = !isnull; remaining_bits_len -= 1; bit_offset++; |