Error handling style in C | Hacker News Reader