pandora-build 0.9
[m6w6/libmemcached] / libmemcached / memcached_strerror.c
index b25bdb362d4b961ce6ed6acfb344ed06edabb7f6..8b75edd40be73ceb72488fef6ecfcbafe7b0b0b1 100644 (file)
@@ -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)
   {
@@ -55,7 +55,7 @@ char *memcached_strerror(memcached_st *ptr __attribute__((unused)), memcached_re
   case MEMCACHED_STAT:
     return "STAT VALUE";
   case MEMCACHED_ITEM:
-    return "ITEM";
+    return "ITEM VALUE";
   case MEMCACHED_ERRNO:
     return "SYSTEM ERROR";
   case MEMCACHED_FAIL_UNIX_SOCKET: