[xml] xmlIO.c xmlParserInputBufferGrow minor cut and paste error?
- From: non_given msn com
- To: xml gnome org
- Subject: [xml] xmlIO.c xmlParserInputBufferGrow minor cut and paste error?
- Date: Thu, 29 May 2003 11:02:33 +0000
This looks like a minor cut and paste error, just gives
wrong routine name when an error is encountered:
xmlIO.c
line 2185 in routine
xmlParserInputBufferGrow(xmlParserInputBufferPtr in, int len)
Currently:
----------
needSize = in->buffer->use + len + 1;
if (needSize > in->buffer->size){
if (!xmlBufferResize(in->buffer, needSize)){
xmlGenericError(xmlGenericErrorContext,
"xmlBufferAdd : out of memory!\n");
return(0);
}
Should be:
----------
needSize = in->buffer->use + len + 1;
if (needSize > in->buffer->size){
if (!xmlBufferResize(in->buffer, needSize)){
xmlGenericError(xmlGenericErrorContext,
"xmlParserInputBufferGrow : out of memory!\n");
return(0);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]