libyang icon indicating copy to clipboard operation
libyang copied to clipboard

LY_Print_RET determines that the function execution result is too absolute based on whether errno is 0.

Open zhuxiaoyun138159 opened this issue 2 years ago • 1 comments

The value in errno is significant only when the return value of the call indicated an error ; a function that succeeds is allowed to change errno.There is a high probability that the function is successfully executed but the value of errno is not 0.

zhuxiaoyun138159 avatar Dec 15 '22 01:12 zhuxiaoyun138159

Could you please be more specific, to what code exactly are you referring to?

michalvasko avatar Dec 15 '22 07:12 michalvasko