diff options
Diffstat (limited to 'memcached.c')
-rw-r--r-- | memcached.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/memcached.c b/memcached.c index e3ca9ff..2cb0b20 100644 --- a/memcached.c +++ b/memcached.c @@ -3118,7 +3118,7 @@ enum delta_result_type do_add_delta(conn *c, const char *key, const size_t nkey, need to update the CAS on the existing item. */ mutex_lock(&cache_lock); /* FIXME */ ITEM_set_cas(it, (settings.use_cas) ? get_cas_id() : 0); - pthread_mutex_unlock(&cache_lock); + mutex_unlock(&cache_lock); memcpy(ITEM_data(it), buf, res); memset(ITEM_data(it) + res, ' ', it->nbytes - res - 2); |