From: Brian Aker Date: Sat, 12 Feb 2011 01:06:49 +0000 (-0800) Subject: More tests. X-Git-Tag: 0.51~43^2~8 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=4a45f8f5e5bf5967694dac410cfae1ea53f64202;p=awesomized%2Flibmemcached More tests. --- 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; } }