summaryrefslogtreecommitdiff
path: root/MirOTR/entities.h
diff options
context:
space:
mode:
Diffstat (limited to 'MirOTR/entities.h')
-rw-r--r--MirOTR/entities.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/MirOTR/entities.h b/MirOTR/entities.h
index bf4c8eb..e4121dc 100644
--- a/MirOTR/entities.h
+++ b/MirOTR/entities.h
@@ -15,6 +15,8 @@ extern size_t decode_html_entities_utf8(char *dest, const char *src, size_t len)
otherwise, the output will be placed in `dest`, which should point
to a buffer big enough to hold `strlen(src) + 1` characters, while
`src` remains unchanged
+ if `len` is given, `dest` must be at least big enough
+ to hold `len + 1` characters.
the function returns the length of the decoded string
*/