From f5be0d36c5d45c10e055c13dd8060152effa3aed Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Fri, 2 Jan 2015 15:32:45 +0100 Subject: 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(). --- sfeed_opml_import.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sfeed_opml_import.c') diff --git a/sfeed_opml_import.c b/sfeed_opml_import.c index 1399bbf..adf5c45 100644 --- a/sfeed_opml_import.c +++ b/sfeed_opml_import.c @@ -74,7 +74,6 @@ int main(void) { xmlparser_init(&parser, stdin); - parser.xmltagstart = xml_handler_start_element; parser.xmltagend = xml_handler_end_element; parser.xmlattr = xml_handler_attr; @@ -91,5 +90,6 @@ main(void) " # feed [encoding]\n", stdout); xmlparser_parse(&parser); fputs("}\n", stdout); - return EXIT_SUCCESS; + + return 0; } -- cgit v1.2.3