gallium: Give some chance for the table to actually grow.

This commit is contained in:
José Fonseca 2008-03-20 20:34:46 +00:00
parent 400b12b4ce
commit 9fa88fb3c5

View file

@ -171,8 +171,7 @@ handle_table_set(struct handle_table *ht,
assert(ht);
assert(handle > 0);
assert(handle <= ht->size);
if(!handle || handle > ht->size)
if(!handle)
return 0;
assert(object);