From 0e925222f36d4f3d34a88cbe149f8f761d47ac26 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sun, 23 Jul 2006 10:10:35 +0000 Subject: 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 --- pjlib/src/pj/hash.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'pjlib/src') 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; } -- cgit v1.2.3