projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
attempt to fix #12, #49 and #65
[awesomized/libmemcached]
/
libmemcached
/
touch.cc
diff --git
a/libmemcached/touch.cc
b/libmemcached/touch.cc
index 91d0825f09a8ab7f822cc6d0bfec9f4ba6880095..a638bf9f7e3265f9f01927cf315215143bb709a7 100644
(file)
--- a/
libmemcached/touch.cc
+++ b/
libmemcached/touch.cc
@@
-63,7
+63,6
@@
static memcached_return_t ascii_touch(memcached_instance_st* instance,
memcached_return_t rc;
if (memcached_failed(rc= memcached_vdo(instance, vector, 6, true)))
{
memcached_return_t rc;
if (memcached_failed(rc= memcached_vdo(instance, vector, 6, true)))
{
- memcached_io_reset(instance);
return memcached_set_error(*instance, MEMCACHED_WRITE_FAILURE, MEMCACHED_AT);
}
return memcached_set_error(*instance, MEMCACHED_WRITE_FAILURE, MEMCACHED_AT);
}
@@
-96,7
+95,6
@@
static memcached_return_t binary_touch(memcached_instance_st* instance,
memcached_return_t rc;
if (memcached_failed(rc= memcached_vdo(instance, vector, 4, true)))
{
memcached_return_t rc;
if (memcached_failed(rc= memcached_vdo(instance, vector, 4, true)))
{
- memcached_io_reset(instance);
return memcached_set_error(*instance, MEMCACHED_WRITE_FAILURE, MEMCACHED_AT);
}
return memcached_set_error(*instance, MEMCACHED_WRITE_FAILURE, MEMCACHED_AT);
}