summaryrefslogtreecommitdiffstats
path: root/source/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-08-25 23:33:22 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-08-25 23:33:22 +0000
commita613dde7edab62c4439d256932b9f9b4ae2ec4e0 (patch)
treef242eab2d329eaa7d8506a3a7aa82f44e1b4fe45 /source/lib
parentd0c0e9f427400c24f5cc38c67b7a927f9d937375 (diff)
downloadsamba-a613dde7edab62c4439d256932b9f9b4ae2ec4e0.tar.gz
samba-a613dde7edab62c4439d256932b9f9b4ae2ec4e0.tar.xz
samba-a613dde7edab62c4439d256932b9f9b4ae2ec4e0.zip
Clarify function comments
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/charcnv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/lib/charcnv.c b/source/lib/charcnv.c
index 6e961366435..03337cbf261 100644
--- a/source/lib/charcnv.c
+++ b/source/lib/charcnv.c
@@ -432,6 +432,7 @@ int push_ucs2(const void *base_ptr, void *dest, const char *src, int dest_len, i
* @param dest always set at least to NULL
*
* @retval The number of bytes occupied by the string in the destination
+ * or -1 in case of error.
**/
int push_ucs2_talloc(TALLOC_CTX *ctx, void **dest, const char *src)
{
@@ -447,6 +448,7 @@ int push_ucs2_talloc(TALLOC_CTX *ctx, void **dest, const char *src)
* @param dest always set at least to NULL
*
* @retval The number of bytes occupied by the string in the destination
+ * or -1 in case of error.
**/
int push_ucs2_allocate(void **dest, const char *src)
{