- Actually add the patch

This commit is contained in:
Philip M. Gollucci 2010-09-15 23:29:08 +00:00
parent 726a079fde
commit 52b14c0ee5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261240

View File

@ -0,0 +1,20 @@
--- ./memcache.c.orig 2009-02-22 16:01:43.000000000 +0000
+++ ./memcache.c 2010-09-15 23:28:08.037943831 +0000
@@ -642,7 +642,7 @@
}
if (deleted) {
- pool->protocol->delete(request, request->key, request->key_len, value);
+ pool->protocol->delete(request, request->key, request->key_len, exptime);
}
else {
pool->protocol->mutate(request, *key, request->key, request->key_len, invert ? -value : value, defval, defval_used, exptime);
@@ -676,7 +676,7 @@
}
if (deleted) {
- pool->protocol->delete(request, request->key, request->key_len, value);
+ pool->protocol->delete(request, request->key, request->key_len, exptime);
}
else {
pool->protocol->mutate(request, keys, request->key, request->key_len, invert ? -value : value, defval, defval_used, exptime);