summaryrefslogtreecommitdiff
path: root/base/base_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'base/base_hash.c')
-rw-r--r--base/base_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/base_hash.c b/base/base_hash.c
index b43ee611..c7086ca9 100644
--- a/base/base_hash.c
+++ b/base/base_hash.c
@@ -197,7 +197,7 @@ fz_hashinsert(fz_hashtable *table, void *key, void *val)
memcpy(ents[pos].key, key, table->keylen);
ents[pos].val = val;
table->load ++;
- return nil;
+ return fz_okay;
}
if (memcmp(key, &ents[pos].key, table->keylen) == 0)