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
/
dump.cc
diff --git
a/libmemcached/dump.cc
b/libmemcached/dump.cc
index f74f3ed1f564ce22fb53bdb09478ac5bf210a168..4fcf7de2aa282ba7694dd61da33d14e53ff614d1 100644
(file)
--- a/
libmemcached/dump.cc
+++ b/
libmemcached/dump.cc
@@
-71,11
+71,7
@@
static memcached_return_t ascii_dump(Memcached *memc, memcached_dump_fn *callbac
memcached_instance_st* instance= memcached_instance_fetch(memc, server_key);
memcached_return_t vdo_rc;
memcached_instance_st* instance= memcached_instance_fetch(memc, server_key);
memcached_return_t vdo_rc;
- if (memcached_success((vdo_rc= memcached_vdo(instance, vector, 3, true))))
- {
- // We have sent the message to the server successfully
- }
- else
+ if (memcached_failed((vdo_rc= memcached_vdo(instance, vector, 3, true))))
{
return vdo_rc;
}
{
return vdo_rc;
}