summaryrefslogtreecommitdiff
path: root/pjlib/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-07-23 13:26:33 +0000
committerBenny Prijono <bennylp@teluu.com>2008-07-23 13:26:33 +0000
commit8628d5dae139665836ac471628339feab93c83f1 (patch)
tree31dc0a397f29c91c9799f4ff092002c10b6c970e /pjlib/include
parentafc016bde15daa7769e561d30c027f6c13b51bac (diff)
pj_strtoul() should stop the conversion as soon as it finds a non-digit character in the input
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2169 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include')
-rw-r--r--pjlib/include/pj/string.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pjlib/include/pj/string.h b/pjlib/include/pj/string.h
index 1866e64a..a56861d0 100644
--- a/pjlib/include/pj/string.h
+++ b/pjlib/include/pj/string.h
@@ -535,7 +535,9 @@ PJ_IDECL(pj_str_t*) pj_strtrim( pj_str_t *str );
PJ_DECL(char*) pj_create_random_string(char *str, pj_size_t length);
/**
- * Convert string to unsigned integer.
+ * Convert string to unsigned integer. The conversion will stop as
+ * soon as non-digit character is found or all the characters have
+ * been processed.
*
* @param str the string.
*