summaryrefslogtreecommitdiff
path: root/include/apr_hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/apr_hash.h')
-rw-r--r--include/apr_hash.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/apr_hash.h b/include/apr_hash.h
index 37d972f9d..2276f84c3 100644
--- a/include/apr_hash.h
+++ b/include/apr_hash.h
@@ -102,7 +102,8 @@ APR_DECLARE(apr_hash_t *) apr_hash_copy(apr_pool_t *pool,
* @param key Pointer to the key
* @param klen Length of the key. Can be APR_HASH_KEY_STRING to use the string length.
* @param val Value to associate with the key
- * @remark If the value is NULL the hash entry is deleted.
+ * @remark If the value is NULL the hash entry is deleted. The key is stored as is,
+ * and so must have a lifetime at least as long as the hash table's pool.
*/
APR_DECLARE(void) apr_hash_set(apr_hash_t *ht, const void *key,
apr_ssize_t klen, const void *val);