Fix for config to not be stored into filesystem.
[awesomized/libmemcached] / libmemcached / memcached_do.c
index 91f7506bc740b306e5e817c20b99143709aaf466..f788582f8d54c91a6996c07b4fd9bcfca367edfc 100644 (file)
@@ -10,7 +10,10 @@ memcached_return memcached_do(memcached_server_st *ptr, const void *command,
   WATCHPOINT_ASSERT(command);
 
   if ((rc= memcached_connect(ptr)) != MEMCACHED_SUCCESS)
+  {
+    WATCHPOINT_ERROR(rc);
     return rc;
+  }
 
   sent_length= memcached_io_write(ptr, command, command_length, with_flush);