Returns false if key is already available in the table
This commit is contained in:
parent
dd21876e64
commit
57eaf0ba7e
|
@ -167,7 +167,7 @@ FcHashTableAdd (FcHashTable *table,
|
|||
table->value_destroy_func (bucket->value);
|
||||
free (bucket);
|
||||
|
||||
return !ret;
|
||||
return FcFalse;
|
||||
}
|
||||
retry:
|
||||
for (prev = &table->buckets[hash % FC_HASH_SIZE];
|
||||
|
|
Loading…
Reference in New Issue