sfeed

simple feed reader - forked from git.codemadness.org/sfeed
git clone git://src.gearsix.net/sfeed
Log | Files | Refs | Atom | README | LICENSE

commit 553d7ab7d03888d69c23279b7a73294d37ce5249
parent c5ce7a565f1972dc02170e8a7e53af447972cbd7
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri,  3 Aug 2012 21:15:05 +0200

sfeed_opml_import: use new exec name for errors

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Msfeed_opml_import.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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);