From ede7428d718d8c8a8427035e946842a82a854cc1 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Thu, 19 Jun 2008 13:49:20 +0000 Subject: Clarified in the pj_create_random_string() comment that the output string is not NULL terminated git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2030 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/string.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pjlib/include/pj') diff --git a/pjlib/include/pj/string.h b/pjlib/include/pj/string.h index 945af2da..6949b64c 100644 --- a/pjlib/include/pj/string.h +++ b/pjlib/include/pj/string.h @@ -524,7 +524,8 @@ PJ_DECL(pj_str_t*) pj_strrtrim( pj_str_t *str ); PJ_IDECL(pj_str_t*) pj_strtrim( pj_str_t *str ); /** - * Initialize the buffer with some random string. + * Initialize the buffer with some random string. Note that the + * generated string is not NULL terminated. * * @param str the string to store the result. * @param length the length of the random string to generate. -- cgit v1.2.3