Revert "Fix 68d87c362b0d7fbb45f395bfae616a28439e0bbc by setting error to 0"
Revert "Fix 68d87c362b0d7fbb45f395bfae616a28439e0bbc by setting error to 0"

This reverts commit a0dee5f6063a9811fdd642951f05de53c58e0e53.

vstakhov/libucl,vstakhov/libucl,allanjude/libucl,allanjude/libucl,vstakhov/libucl,vstakhov/libucl,allanjude/libucl,allanjude/libucl,allanjude/libucl,vstakhov/libucl