All eina_hash_find* functions should not report problem when hash or key is NULL.

SVN revision: 38059
This commit is contained in:
Cedric BAIL 2008-12-09 14:59:30 +00:00
parent 8ee267ec0d
commit 00e8fba9ba
1 changed files with 1 additions and 1 deletions

View File

@ -1031,8 +1031,8 @@ eina_hash_find_by_hash(const Eina_Hash *hash, const void *key, int key_length, i
Eina_Hash_El *el;
Eina_Hash_Tuple tuple;
EINA_MAGIC_CHECK_HASH(hash);
if ((!hash) || (!key)) return NULL;
EINA_MAGIC_CHECK_HASH(hash);
tuple.key = key;
tuple.key_length = key_length;