diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-08-22 20:11:05 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-08-22 20:11:05 +0200 |
commit | 2d5b42efae35300a9eb7cc3a834dc8c522bf5a71 (patch) | |
tree | ee85145ae4e426bf2ea2e01934d43545d5bc39a2 /sfeed_opml_import.c | |
parent | 1ad44956f0f7b044440f04ee72a7affef48b804c (diff) |
xml: simplify XML reader
Diffstat (limited to 'sfeed_opml_import.c')
-rw-r--r-- | sfeed_opml_import.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfeed_opml_import.c b/sfeed_opml_import.c index 248d4c2..c8dc60b 100644 --- a/sfeed_opml_import.c +++ b/sfeed_opml_import.c @@ -95,7 +95,8 @@ main(void) "# list of feeds to fetch:\n" "feeds() {\n" " # feed <name> <feedurl> [basesiteurl] [encoding]\n", stdout); - xml_parse_fd(&parser, 0); + parser.getnext = getchar; + xml_parse(&parser); fputs("}\n", stdout); return 0; |