return.h | return.h | |||
---|---|---|---|---|
skipping to change at line 64 | skipping to change at line 64 | |||
rc != MEMCACHED_END && | rc != MEMCACHED_END && | |||
rc != MEMCACHED_STORED && | rc != MEMCACHED_STORED && | |||
rc != MEMCACHED_STAT && | rc != MEMCACHED_STAT && | |||
rc != MEMCACHED_DELETED && | rc != MEMCACHED_DELETED && | |||
rc != MEMCACHED_BUFFERED && | rc != MEMCACHED_BUFFERED && | |||
rc != MEMCACHED_VALUE); | rc != MEMCACHED_VALUE); | |||
} | } | |||
static inline bool memcached_fatal(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_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_STAT && | |||
rc != MEMCACHED_DELETED && | rc != MEMCACHED_STORED && | |||
rc != MEMCACHED_BUFFERED && | rc != MEMCACHED_SUCCESS && | |||
rc != MEMCACHED_VALUE); | rc != MEMCACHED_VALUE); | |||
} | } | |||
#define memcached_continue(__memcached_return_t) ((__memcached_return_t) == MEMCACHED_IN_PROGRESS) | #define memcached_continue(__memcached_return_t) ((__memcached_return_t) == MEMCACHED_IN_PROGRESS) | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 12 lines changed or added | |||