summaryrefslogtreecommitdiff
path: root/sfeed_opml_import.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2014-04-01 00:19:30 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2014-04-01 00:19:30 +0200
commit0df57225a5c7e475116cad33c9a9a92b907ade56 (patch)
treedd2f978a0eff295b0a721d646e92e1881b5b0f15 /sfeed_opml_import.c
parent072e7e6b1fdf17d10fdb573adaecaed320718b90 (diff)
fix crlf newlines, add fp arg to xmlparser_init
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat (limited to 'sfeed_opml_import.c')
-rw-r--r--sfeed_opml_import.c2
1 files changed, 1 insertions, 1 deletions
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;