Returns false if key is already available in the table

This commit is contained in:
Akira TAGOH 2017-12-18 16:41:04 +09:00
parent dd21876e64
commit 57eaf0ba7e
1 changed files with 1 additions and 1 deletions

View File

@ -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];