summaryrefslogtreecommitdiff
path: root/sfeed_opml_import.c
diff options
context:
space:
mode:
Diffstat (limited to 'sfeed_opml_import.c')
-rw-r--r--sfeed_opml_import.c5
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"