mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
Rebuit doc finished closing a few bugs, Daniel.
This commit is contained in:
6
parser.c
6
parser.c
@ -8320,8 +8320,8 @@ xmlRecoverFile(const char *filename) {
|
||||
|
||||
/**
|
||||
* xmlCreateMemoryParserCtxt :
|
||||
* @buffer: an pointer to a char array
|
||||
* @size: the size of the array
|
||||
* @buffer: an pointer to a zero terminated char array
|
||||
* @size: the size of the array (without the trailing 0)
|
||||
*
|
||||
* Create a parser context for an XML in-memory document.
|
||||
*
|
||||
@ -8334,7 +8334,7 @@ xmlCreateMemoryParserCtxt(char *buffer, int size) {
|
||||
xmlCharEncoding enc;
|
||||
|
||||
if (buffer[size] != '\0')
|
||||
buffer[size] = '\0';
|
||||
return(NULL);
|
||||
|
||||
ctxt = xmlNewParserCtxt();
|
||||
if (ctxt == NULL) {
|
||||
|
Reference in New Issue
Block a user