c: fix (missing) return code
Merge pull request #6 from sbinet/wip/fix-c-exit-code

c: fix (missing) return code