diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-06-19 13:49:20 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-06-19 13:49:20 +0000 |
commit | ede7428d718d8c8a8427035e946842a82a854cc1 (patch) | |
tree | 159ea89a77becb99636c90decdfef2dd0b296812 /pjlib | |
parent | e32bfce1a27050601bf74f6f34d6c78b5ac75b6d (diff) |
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
Diffstat (limited to 'pjlib')
-rw-r--r-- | pjlib/include/pj/string.h | 3 |
1 files changed, 2 insertions, 1 deletions
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. |