+ if (error == 1)
+ return MEMCACHED_SUCCESS;
+ else if (error == -1)
+ {
+ memcached_quit_server(ptr, server_key, 1);
+ return MEMCACHED_FAILURE;
+ }
+ else if (error)
+ {
+ /* This is impossible */
+ WATCHPOINT_ASSERT(0);
+ return MEMCACHED_FAILURE;
+ }
+ else
+ latch++;
+ }
+
+ memcached_quit_server(ptr, server_key, 1);
+
+ return MEMCACHED_FAILURE; /* Timeout occurred */