From 7fa883aca713b99985cf35750ab0e2ffe6ce58e0 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 6 Jan 2020 13:29:45 +0100 Subject: [PATCH] dump: memcached returns the right error by now --- libmemcached/dump.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2