From 4a45f8f5e5bf5967694dac410cfae1ea53f64202 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Fri, 11 Feb 2011 17:06:49 -0800 Subject: [PATCH] More tests. --- libmemcached/io.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libmemcached/io.c b/libmemcached/io.c index 0cef65f0..167b3e6b 100644 --- a/libmemcached/io.c +++ b/libmemcached/io.c @@ -654,10 +654,11 @@ static ssize_t io_flush(memcached_server_write_instance_st ptr, fprintf(stderr, "%s:%d (%s)\n", __FILE__, __LINE__,__func__);fflush(stdout); return -1; } + case ENOTCONN: default: + fprintf(stderr, "%s:%d (%s)(%s)\n", __FILE__, __LINE__,__func__, strerror(errno));fflush(stdout); memcached_quit_server(ptr, true); *error= MEMCACHED_ERRNO; - fprintf(stderr, "%s:%d (%s)(%s)\n", __FILE__, __LINE__,__func__, strerror(errno));fflush(stdout); return -1; } } -- 2.30.2