summaryrefslogtreecommitdiff
path: root/src/ne_xml.c
diff options
context:
space:
mode:
authorjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2004-10-02 19:29:59 +0000
committerjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2004-10-02 19:29:59 +0000
commit815aa28e20edc460a309e6faee73e71cbd4736ba (patch)
treefdc505a71d237b01db6d60e4ccc161aa2b9f6b63 /src/ne_xml.c
parent25b639dbf4f487992ad414d30101a70feade1029 (diff)
downloadneon-815aa28e20edc460a309e6faee73e71cbd4736ba.tar.gz
Import neon-0.24.3.
git-svn-id: http://svn.webdav.org/repos/projects/neon/branches/0.24.x@249 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'src/ne_xml.c')
-rw-r--r--src/ne_xml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ne_xml.c b/src/ne_xml.c
index d55d59c..3417b3a 100644
--- a/src/ne_xml.c
+++ b/src/ne_xml.c
@@ -403,6 +403,7 @@ ne_xml_parser *ne_xml_create(void)
p->current = p->root = ne_calloc(sizeof *p->root);
p->root->default_ns = "";
p->root->state = 0;
+ strcpy(p->error, _("Unknown error"));
#ifdef HAVE_EXPAT
p->parser = XML_ParserCreate(NULL);
if (p->parser == NULL) {