Skip to content

Commit

Permalink
New-line terminate error message that missed this convention
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jnpkrn authored and nwellnhof committed May 18, 2017
1 parent 6d851ac commit 896caef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libxslt/numbers.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ xsltNumberFormatDecimal(xmlBufferPtr buffer,
}
if (i < 0)
xsltGenericError(xsltGenericErrorContext,
"xsltNumberFormatDecimal: Internal buffer size exceeded");
"xsltNumberFormatDecimal: Internal buffer size exceeded\n");
xmlBufferCat(buffer, pointer);
}

Expand Down

0 comments on commit 896caef

Please sign in to comment.