From d46b596b82e290141fd97e3c5381efdb792756a4 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Fri, 11 Feb 2011 23:14:02 -0800 Subject: [PATCH] Commit additional test for remote... --- libmemcached/io.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmemcached/io.c b/libmemcached/io.c index 6ecac245..3b5d44f5 100644 --- a/libmemcached/io.c +++ b/libmemcached/io.c @@ -660,9 +660,11 @@ static ssize_t io_flush(memcached_server_write_instance_st ptr, case ENOTCONN: case EPIPE: default: + fprintf(stderr, "%s %u %u %u\n", ptr->hostname, ptr->port, ptr->io_bytes_sent, ptr->server_failure_counter); fprintf(stderr, "%s:%d (%s)(%s)\n", __FILE__, __LINE__,__func__, strerror(errno));fflush(stdout); memcached_quit_server(ptr, true); *error= MEMCACHED_ERRNO; + assert(ptr->fd == -1); return -1; } } -- 2.30.2