X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fmemcached_strerror.c;h=5a8b36958dbbc237129f86bcefe09282034e39de;hb=9141e90dccb732d6e7ef10ea248ce2fd7d1ef46b;hp=47afdbda396bdaafac606e1c7566ebd5175f564c;hpb=90a442f849042215ff99e0d26625dd832a11d293;p=awesomized%2Flibmemcached diff --git a/libmemcached/memcached_strerror.c b/libmemcached/memcached_strerror.c index 47afdbda..5a8b3695 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,8 @@ 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_MAXIMUM_RETURN: return "Gibberish returned!"; default: