Skip to content

Commit

Permalink
fix shm_ht_set bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhenchun committed Feb 9, 2023
1 parent 79d1b78 commit aca89d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shm_hashtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit aca89d4

Please sign in to comment.