cn-cbor icon indicating copy to clipboard operation
cn-cbor copied to clipboard

cn_cbor_decode: set errp with CN_CBOR_NO_ERROR on success

Open KonstantinRitt opened this issue 7 years ago • 0 comments

for consistency, both

if (errp->err == CN_CBOR_NO_ERROR) and if (ret) could be used to determine there was no error during decoding

KonstantinRitt avatar May 14 '18 16:05 KonstantinRitt