diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-08-06 17:54:09 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-08-06 17:54:09 +0200 |
commit | 19430fb45636614d96a08342cd7d83774e888c2e (patch) | |
tree | 52d6da717ad606273d28adc6a8d07647929be9d8 /sfeed_opml_import.c | |
parent | 46b756cc19e199c89fe3b090885243d1c501262b (diff) |
general cleanups
Diffstat (limited to 'sfeed_opml_import.c')
-rw-r--r-- | sfeed_opml_import.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sfeed_opml_import.c b/sfeed_opml_import.c index 4e73708..383cbe8 100644 --- a/sfeed_opml_import.c +++ b/sfeed_opml_import.c @@ -74,10 +74,9 @@ xml_handler_attr(XMLParser *p, const char *tag, size_t taglen, int main(void) { - memset(&parser, 0, sizeof(parser)); - parser.xmltagstart = xml_handler_start_element; - parser.xmltagend = xml_handler_end_element; parser.xmlattr = xml_handler_attr; + parser.xmltagend = xml_handler_end_element; + parser.xmltagstart = xml_handler_start_element; fputs( "# paths\n" |