summaryrefslogtreecommitdiff
path: root/pjlib
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-07-23 10:10:35 +0000
committerBenny Prijono <bennylp@teluu.com>2006-07-23 10:10:35 +0000
commit0e925222f36d4f3d34a88cbe149f8f761d47ac26 (patch)
tree0ec574a5f3e26e339e451234dd987f167ed1038e /pjlib
parentca0e9bd20df27bb62875130a0db513256c92e75a (diff)
Improvement/bug fix in hash table lookup to allow user to specify the hash value, and modify transaction to take advantage of this feature
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@623 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib')
-rw-r--r--pjlib/src/pj/hash.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pjlib/src/pj/hash.c b/pjlib/src/pj/hash.c
index 10ad9d97..5a03ecb8 100644
--- a/pjlib/src/pj/hash.c
+++ b/pjlib/src/pj/hash.c
@@ -204,8 +204,6 @@ PJ_DEF(void *) pj_hash_get( pj_hash_table_t *ht,
pj_uint32_t *hval)
{
pj_hash_entry *entry;
-
- if (hval) *hval = 0;
entry = *find_entry( NULL, ht, key, keylen, NULL, hval, NULL);
return entry ? entry->value : NULL;
}