X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fmemcached_strerror.c;h=28f55a21154b1f18092998e3b98fd987816a0e02;hb=0acd9f0be5dbd76e5cd22cf1c3f8cf7d9fc972e4;hp=47afdbda396bdaafac606e1c7566ebd5175f564c;hpb=f63d634e21459280599f663154089fa724903bd6;p=awesomized%2Flibmemcached diff --git a/libmemcached/memcached_strerror.c b/libmemcached/memcached_strerror.c index 47afdbda..28f55a21 100644 --- a/libmemcached/memcached_strerror.c +++ b/libmemcached/memcached_strerror.c @@ -1,6 +1,6 @@ #include "common.h" -char *memcached_strerror(memcached_st *ptr __attribute__((unused)), memcached_return rc) +const char *memcached_strerror(memcached_st *ptr __attribute__((unused)), memcached_return rc) { switch (rc) { @@ -78,6 +78,10 @@ char *memcached_strerror(memcached_st *ptr __attribute__((unused)), memcached_re return "SERVER IS MARKED DEAD"; case MEMCACHED_UNKNOWN_STAT_KEY: return "ENCOUNTERED AN UNKNOWN STAT KEY"; + case MEMCACHED_E2BIG: + return "ITEM TOO BIG"; + case MEMCACHED_INVALID_ARGUMENTS: + return "INVALID ARGUMENTS"; case MEMCACHED_MAXIMUM_RETURN: return "Gibberish returned!"; default: