Fix for return
authorBrian Aker <brian@tangent.org>
Sat, 18 Feb 2012 03:05:10 +0000 (19:05 -0800)
committerBrian Aker <brian@tangent.org>
Sat, 18 Feb 2012 03:05:10 +0000 (19:05 -0800)
libmemcached/delete.cc

index 85e3c79b3f36e6c8ec0323ee1f96c76342312328..e2a73450950b45e0e41cc5f834c8d9dd4de00e22 100644 (file)
@@ -213,5 +213,5 @@ memcached_return_t memcached_delete_by_key(memcached_st *memc,
   }
 
   LIBMEMCACHED_MEMCACHED_DELETE_END();
-  return memcached_last_error(memc);
+  return rc;
 }