_init_string(self);
rc= _string_check(self, initial_size);
- if (rc != MEMCACHED_SUCCESS)
+ if (memcached_failed(rc))
{
if (rc == MEMCACHED_MEMORY_ALLOCATION_FAILURE)
{
rc= _string_check(string, 1);
- if (rc != MEMCACHED_SUCCESS)
+ if (memcached_failed(rc))
{
return rc;
}