summaryrefslogtreecommitdiff
path: root/xmlstring.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2017-06-17 23:20:38 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2017-06-18 17:58:38 +0200
commit5a0ae66d7202619d493985537818e052d9d1239f (patch)
tree78fa5e6d66ecb78ef0da88f94d1bb8dcbe8ee603 /xmlstring.c
parent8bbe4508ef2a97110eac02f16782678c38ea97af (diff)
downloadlibxml2-5a0ae66d7202619d493985537818e052d9d1239f.tar.gz
Documentation fixes
Fixes bug 347465, bug 599433, bug 624550, bug 698253.
Diffstat (limited to 'xmlstring.c')
-rw-r--r--xmlstring.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/xmlstring.c b/xmlstring.c
index ed2baf03..8d2e06f6 100644
--- a/xmlstring.c
+++ b/xmlstring.c
@@ -440,8 +440,8 @@ xmlStrlen(const xmlChar *str) {
* first bytes of @add. Note that if @len < 0 then this is an API error
* and NULL will be returned.
*
- * Returns a new xmlChar *, the original @cur is reallocated if needed
- * and should not be freed
+ * Returns a new xmlChar *, the original @cur is reallocated and should
+ * not be freed.
*/
xmlChar *
@@ -519,7 +519,8 @@ xmlStrncatNew(const xmlChar *str1, const xmlChar *str2, int len) {
* encoded in UTF-8 or an encoding with 8bit based chars, we assume
* a termination mark of '0'.
*
- * Returns a new xmlChar * containing the concatenated string.
+ * Returns a new xmlChar * containing the concatenated string. The original
+ * @cur is reallocated and should not be freed.
*/
xmlChar *
xmlStrcat(xmlChar *cur, const xmlChar *add) {