mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-08-01 10:06:59 +03:00
- error.c: removed a C++ like comment
Daniel
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
Tue Mar 20 14:21:28 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||||
|
|
||||||
|
* error.c: removed a C++ like comment
|
||||||
|
|
||||||
Tue Mar 20 12:22:36 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
Tue Mar 20 12:22:36 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
|
||||||
|
|
||||||
* parser.c: fixing bug 52299 strange condition leading
|
* parser.c: fixing bug 52299 strange condition leading
|
||||||
|
2
error.c
2
error.c
@ -160,7 +160,7 @@ xmlGetVarStr(const char * msg, va_list args) {
|
|||||||
size = 100;
|
size = 100;
|
||||||
length = 0;
|
length = 0;
|
||||||
|
|
||||||
while (1) { // From the man page for vsnprintf ....
|
while (1) {
|
||||||
left = size - length;
|
left = size - length;
|
||||||
/* Try to print in the allocated space. */
|
/* Try to print in the allocated space. */
|
||||||
chars = vsnprintf(str + length, left, msg, args);
|
chars = vsnprintf(str + length, left, msg, args);
|
||||||
|
Reference in New Issue
Block a user