From: Michael Wallner Date: Mon, 6 Jan 2020 12:29:45 +0000 (+0100) Subject: dump: memcached returns the right error by now X-Git-Tag: pre_cmake~80 X-Git-Url: https://git.m6w6.name/?p=awesomized%2Flibmemcached;a=commitdiff_plain;h=7fa883aca713b99985cf35750ab0e2ffe6ce58e0 dump: memcached returns the right error by now --- diff --git a/libmemcached/dump.cc b/libmemcached/dump.cc index 8ddb2eef..fcb66604 100644 --- a/libmemcached/dump.cc +++ b/libmemcached/dump.cc @@ -114,7 +114,7 @@ static memcached_return_t ascii_dump(Memcached *memc, memcached_dump_fn *callbac { // All items have been returned } - else if (response_rc == MEMCACHED_SERVER_ERROR or response_rc == MEMCACHED_CLIENT_ERROR or response_rc == MEMCACHED_ERROR) + else if (response_rc == MEMCACHED_SERVER_ERROR) { /* If we try to request stats cachedump for a slab class that is too big * the server will return an incorrect error message: