diff --git a/src/shm_hashtable.c b/src/shm_hashtable.c index 39bb51c..d6ebd4a 100644 --- a/src/shm_hashtable.c +++ b/src/shm_hashtable.c @@ -81,7 +81,7 @@ int shm_ht_set(struct shmcache_context *context, if ((new_entry=shm_value_allocator_alloc(context, key->length, value->length)) == NULL) { - return result; + return ENOMEM; } previous = NULL;