1
0
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:
Daniel Veillard
2000-03-04 11:39:42 +00:00
parent fb76c40ad7
commit b566ce1d28
2 changed files with 9 additions and 3 deletions

View File

@ -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) {