summaryrefslogtreecommitdiff
path: root/README.xml
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-08-22 14:59:10 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-08-22 14:59:10 +0200
commitd1ac6963bb9fb5ab694d39fc9140ed627723e1da (patch)
tree6df18c9b39bf6da749e0df6380a9ab3110686ce4 /README.xml
parent5c243a8c506ba3cf21d8258cc56f5cd8e00c710f (diff)
README.xml: update example
Diffstat (limited to 'README.xml')
-rw-r--r--README.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.xml b/README.xml
index dea2e02..5385ecf 100644
--- a/README.xml
+++ b/README.xml
@@ -62,7 +62,7 @@ The most minimal implementation to read and parse from fd 0 (stdin) is:
int
main(void)
{
- xml_parse_fd(&x, 0); /* xml_parse_string(&x, "<sup />"); */
+ xml_parse_fd(&x, 0); /* xml_parse_buf(&x, "<sup />", 7); */
return 0;
}
@@ -77,5 +77,5 @@ sfeed_opml_import.c or sfeed_web.c or sfeed_xmlenc.c
License
-------
-See LICENSE file.
+MIT, see LICENSE file.