diff options
author | Brian Aker <brian@tangent.org> | 2013-01-14 05:17:30 -0500 |
---|---|---|
committer | Brian Aker <brian@tangent.org> | 2013-01-14 05:17:30 -0500 |
commit | 326e812b0ca940bf90aaadf69312a0316091d0cb (patch) | |
tree | 1b2f7640e575aa6192cc2a9257fde486c982c37b /libmemcached/touch.cc | |
parent | 56a083d9a9b9887fc48890526d323fbc44e487b5 (diff) | |
download | libmemcached-326e812b0ca940bf90aaadf69312a0316091d0cb.tar.gz |
Abstraction (which will save us merge hell with 1.2).
Diffstat (limited to 'libmemcached/touch.cc')
-rw-r--r-- | libmemcached/touch.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmemcached/touch.cc b/libmemcached/touch.cc index 7a8c7cee..0c24aed1 100644 --- a/libmemcached/touch.cc +++ b/libmemcached/touch.cc @@ -110,11 +110,12 @@ memcached_return_t memcached_touch(memcached_st *ptr, return memcached_touch_by_key(ptr, key, key_length, key, key_length, expiration); } -memcached_return_t memcached_touch_by_key(memcached_st *ptr, +memcached_return_t memcached_touch_by_key(memcached_st *shell, const char *group_key, size_t group_key_length, const char *key, size_t key_length, time_t expiration) { + Memcached* ptr= memcached2Memcached(shell); LIBMEMCACHED_MEMCACHED_TOUCH_START(); memcached_return_t rc; |