summaryrefslogtreecommitdiff
path: root/sfeed_web.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-01-02 15:32:45 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-01-02 15:32:45 +0100
commitf5be0d36c5d45c10e055c13dd8060152effa3aed (patch)
tree940dd802eceaccbc78cdd865f3f88faec5f070cb /sfeed_web.c
parentbcd1e1972d63cdd2ca8b42572a129be521558aba (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.c2
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;
}