summaryrefslogtreecommitdiff
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
commit014792fc03c9d4030794e4e06fb137cd2ce32b17 (patch)
treec31edca6653f5c78622f4a51f42e9d9ce6d2876d
parent066c5ae97fd62109d9e0a5ae417753a1585e14d0 (diff)
downloadsamba-014792fc03c9d4030794e4e06fb137cd2ce32b17.tar.gz
samba-014792fc03c9d4030794e4e06fb137cd2ce32b17.tar.bz2
samba-014792fc03c9d4030794e4e06fb137cd2ce32b17.zip
Clarify function comments
(This used to be commit a613dde7edab62c4439d256932b9f9b4ae2ec4e0)
-rw-r--r--source3/lib/charcnv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index 6e96136643..03337cbf26 100644
--- a/source3/lib/charcnv.c
+++ b/source3/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)
{