Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

cn_cbor_decode: set errp with CN_CBOR_NO_ERROR on success #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KonstantinRitt
Copy link

for consistency, both

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

for consistency, both
> if (errp->err == CN_CBOR_NO_ERROR)
and
> if (ret)
could be used to determine there was no error during decoding
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant