X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached-1.0%2Freturn.h;h=65dc63af5eb02cb7783200287f9cb5316dc06a86;hb=cc47230b8dfe0bcd31d4f45ca84d2dd35ae360f0;hp=28b4a97d3f121adc6873f58a76a691e42ff6a585;hpb=9169cee9ec0f231b3117a0d5a7840d2067f29610;p=m6w6%2Flibmemcached diff --git a/libmemcached-1.0/return.h b/libmemcached-1.0/return.h index 28b4a97d..65dc63af 100644 --- a/libmemcached-1.0/return.h +++ b/libmemcached-1.0/return.h @@ -61,12 +61,20 @@ static inline bool memcached_failed(memcached_return_t rc) static inline bool memcached_fatal(memcached_return_t rc) { - return (rc != MEMCACHED_SUCCESS && + return ( + rc != MEMCACHED_BUFFERED && + rc != MEMCACHED_DATA_EXISTS && + rc != MEMCACHED_DELETED && + rc != MEMCACHED_E2BIG && rc != MEMCACHED_END && - rc != MEMCACHED_STORED && + rc != MEMCACHED_ITEM && + rc != MEMCACHED_ERROR && + rc != MEMCACHED_NOTFOUND && + rc != MEMCACHED_NOTSTORED && + rc != MEMCACHED_SERVER_MEMORY_ALLOCATION_FAILURE && rc != MEMCACHED_STAT && - rc != MEMCACHED_DELETED && - rc != MEMCACHED_BUFFERED && + rc != MEMCACHED_STORED && + rc != MEMCACHED_SUCCESS && rc != MEMCACHED_VALUE); }