summaryrefslogtreecommitdiff
path: root/pjlib
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2011-07-20 08:08:46 +0000
committerBenny Prijono <bennylp@teluu.com>2011-07-20 08:08:46 +0000
commit53b101f625974c7e70a4629d95490e9c8a6c5e85 (patch)
treed8008481343e1bfa79e8477d8d5c0e2f4b4e7b6c /pjlib
parent23180720586290a3fd14a2e6bbb7c16e968138ac (diff)
Misc (re #1252): wrong doxygen documentation on the key argument of pj_hash_set, which said that it has to be valid throughout the duration of the entry. This is no longer true. Thanks Johan Lantz for pointing this out.
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3673 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib')
-rw-r--r--pjlib/include/pj/hash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pjlib/include/pj/hash.h b/pjlib/include/pj/hash.h
index e7cf9d33..7b9f6df3 100644
--- a/pjlib/include/pj/hash.h
+++ b/pjlib/include/pj/hash.h
@@ -125,8 +125,8 @@ PJ_DECL(void *) pj_hash_get( pj_hash_table_t *ht,
* @param pool the pool to allocate the new entry if a new entry has to be
* created.
* @param ht the hash table.
- * @param key the key, which MUST point to buffer that remains valid
- * for the duration of the entry.
+ * @param key the key. If pool is not specified, the key MUST point to
+ * buffer that remains valid for the duration of the entry.
* @param keylen the length of the key, or PJ_HASH_KEY_STRING to use the
* string length of the key.
* @param hval if the value is not zero, then the hash table will use