summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfeed_xmlenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_xmlenc.c b/sfeed_xmlenc.c
index 955042f..683e853 100644
--- a/sfeed_xmlenc.c
+++ b/sfeed_xmlenc.c
@@ -19,7 +19,7 @@ xmltagstart(XMLParser *p, const char *t, size_t tl)
/* optimization: try to find a processing instruction only at the
start of the data. */
if (tags++ > 3)
- exit(1);
+ exit(0);
}
static void
@@ -50,5 +50,5 @@ main(void)
parser.getnext = getchar;
xml_parse(&parser);
- return 1;
+ return 0;
}