X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fmemcached_strerror.c;h=44f8f88a9b8d1d2c1070ccfdd6b6afc6f990db8f;hb=cab710477d5208fa4715a1b64f29f332c77033da;hp=3271682d2fdfeed1b902e674d5306a674248c826;hpb=34a8c3858f30b02568c87f56a827f618aba6d6be;p=awesomized%2Flibmemcached diff --git a/libmemcached/memcached_strerror.c b/libmemcached/memcached_strerror.c index 3271682d..44f8f88a 100644 --- a/libmemcached/memcached_strerror.c +++ b/libmemcached/memcached_strerror.c @@ -1,6 +1,6 @@ #include "common.h" -char *memcached_strerror(memcached_st *ptr, memcached_return rc) +char *memcached_strerror(memcached_st *ptr __attribute__((unused)), memcached_return rc) { switch (rc) { @@ -70,6 +70,12 @@ char *memcached_strerror(memcached_st *ptr, memcached_return rc) return "A TIMEOUT OCCURRED"; case MEMCACHED_BAD_KEY_PROVIDED: return "A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE"; + case MEMCACHED_INVALID_HOST_PROTOCOL: + return "THE HOST TRANSPORT PROTOCOL DOES NOT MATCH THAT OF THE CLIENT"; + case MEMCACHED_SERVER_MARKED_DEAD: + return "SERVER IS MARKED DEAD"; + case MEMCACHED_UNKNOWN_STAT_KEY: + return "ENCOUNTERED AN UNKNOWN STAT KEY"; case MEMCACHED_MAXIMUM_RETURN: return "Gibberish returned!"; default: