From 0df57225a5c7e475116cad33c9a9a92b907ade56 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Tue, 1 Apr 2014 00:19:30 +0200 Subject: fix crlf newlines, add fp arg to xmlparser_init Signed-off-by: Hiltjo Posthuma --- sfeed_opml_import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfeed_opml_import.c') diff --git a/sfeed_opml_import.c b/sfeed_opml_import.c index 22a1a9a..a5a3a30 100644 --- a/sfeed_opml_import.c +++ b/sfeed_opml_import.c @@ -54,7 +54,7 @@ xml_handler_attr(XMLParser *p, const char *tag, size_t taglen, int main(void) { - xmlparser_init(&parser); + xmlparser_init(&parser, stdin); parser.xmltagstart = xml_handler_start_element; parser.xmltagend = xml_handler_end_element; -- cgit v1.2.3