summaryrefslogtreecommitdiff
path: root/sfeed_opml_import.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2012-08-03 21:15:05 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2012-08-03 21:15:05 +0200
commit553d7ab7d03888d69c23279b7a73294d37ce5249 (patch)
tree7a84db49749cc8cf203dff3b927fb6f25633e80b /sfeed_opml_import.c
parentc5ce7a565f1972dc02170e8a7e53af447972cbd7 (diff)
sfeed_opml_import: use new exec name for errors
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat (limited to 'sfeed_opml_import.c')
-rw-r--r--sfeed_opml_import.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_opml_import.c b/sfeed_opml_import.c
index f328fc1..7b5839b 100644
--- a/sfeed_opml_import.c
+++ b/sfeed_opml_import.c
@@ -52,7 +52,7 @@ xml_parse_stream(XML_Parser parser, FILE *fp) {
if(XML_Parse(parser, buffer, len, done) == XML_STATUS_ERROR && (len > 0)) {
if(XML_GetErrorCode(parser) == XML_ERROR_NO_ELEMENTS)
return 1; /* Ignore "no elements found" / empty document as an error */
- fprintf(stderr, "sfeed_opml_config: error parsing xml %s at line %lu column %lu\n",
+ fprintf(stderr, "sfeed_opml_import: error parsing xml %s at line %lu column %lu\n",
XML_ErrorString(XML_GetErrorCode(parser)), (unsigned long)XML_GetCurrentLineNumber(parser),
(unsigned long)XML_GetCurrentColumnNumber(parser));
return 0;
@@ -65,7 +65,7 @@ int main(void) {
int status;
if(!(parser = XML_ParserCreate("UTF-8"))) {
- fputs("sfeed_opml_config: can't create parser", stderr);
+ fputs("sfeed_opml_import: can't create parser", stderr);
exit(EXIT_FAILURE);
}
XML_SetElementHandler(parser, xml_handler_start_element, xml_handler_end_element);