[xslt] [PATCH] New-line terminate error message that missed this convention

That could confuse library users that set their own error handler,
because there are already cases in libxslt that push a single message
in chunks (the same way as libxml2 does) and the user may be interested
in performing the message reconstruction on its own.

Quick scan only discovered this occurrence, but there may be more.

Signed-off-by: Jan Pokorný <jpokorny redhat com>
 libxslt/numbers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libxslt/numbers.c b/libxslt/numbers.c
index e78c46b..548bbf1 100644
--- a/libxslt/numbers.c
+++ b/libxslt/numbers.c
@@ -222,7 +222,7 @@ xsltNumberFormatDecimal(xmlBufferPtr buffer,
     if (i < 0)
-               "xsltNumberFormatDecimal: Internal buffer size exceeded");
+               "xsltNumberFormatDecimal: Internal buffer size exceeded\n");
     xmlBufferCat(buffer, pointer);

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]