summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2017-12-18 16:41:04 +0900
committerAkira TAGOH <akira@tagoh.org>2017-12-18 16:41:04 +0900
commit57eaf0ba7ea7f88510053688f3c3c4658da83596 (patch)
tree8410d3a0819e6ed65f2299603c092fef5d9c76ef /src
parentdd21876e64db4eaf592297e97355ffdf87f7d2f6 (diff)
Returns false if key is already available in the table
Diffstat (limited to 'src')
-rw-r--r--src/fchash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fchash.c b/src/fchash.c
index 9857abc4..54e23344 100644
--- a/src/fchash.c
+++ b/src/fchash.c
@@ -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];