aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/csn1_dec.c2
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++;