cn-cbor
cn-cbor copied to clipboard
cn_cbor_decode: set errp with CN_CBOR_NO_ERROR on success
for consistency, both
if (errp->err == CN_CBOR_NO_ERROR) and if (ret) could be used to determine there was no error during decoding