diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-01-02 15:32:45 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-01-02 15:32:45 +0100 |
commit | f5be0d36c5d45c10e055c13dd8060152effa3aed (patch) | |
tree | 940dd802eceaccbc78cdd865f3f88faec5f070cb /sfeed_web.c | |
parent | bcd1e1972d63cdd2ca8b42572a129be521558aba (diff) |
cleanup
- dont free at end (not needed in our case).
- use 0 and 1 instead of EXIT_SUCCESS, EXIT_FAILURE.
- use err (from err.h) instead of custom die().
Diffstat (limited to 'sfeed_web.c')
-rw-r--r-- | sfeed_web.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_web.c b/sfeed_web.c index bb9612a..e941825 100644 --- a/sfeed_web.c +++ b/sfeed_web.c @@ -86,5 +86,5 @@ main(int argc, char *argv[]) xmlparser_parse(&x); - return found > 0 ? EXIT_SUCCESS : EXIT_FAILURE; + return found > 0 ? 0: 1; } |