1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-26 10:03:34 +03:00

Oops, Daniel

This commit is contained in:
Daniel Veillard 2003-10-08 19:26:03 +00:00
parent 828ce83d4c
commit a88562208d
2 changed files with 3 additions and 3 deletions

View File

@ -353,9 +353,9 @@ xmlReportError(xmlErrorPtr err, xmlParserCtxtPtr ctxt, const char *str,
int len;
len = xmlStrlen((const xmlChar *)str);
if ((len > 0) && (str[len - 1] != '\n'))
channel(data, "%s", str);
else
channel(data, "%s\n", str);
else
channel(data, "%s", str);
} else {
channel(data, "%s\n", "out of memory error");
}

View File

@ -130,7 +130,7 @@ static int xmlOutputCallbackInitialized = 0;
************************************************************************/
static const char *IOerr[] = {
"Unknown IO error errno", /* UNKNOWN */
"Unknown IO error", /* UNKNOWN */
"Permission denied", /* EACCES */
"Resource temporarily unavailable",/* EAGAIN */
"Bad file descriptor", /* EBADF */