X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=libmemcached%2Fio.c;h=167b3e6b0d7f521aac98f3070e7d53877a54cee9;hb=4a45f8f5e5bf5967694dac410cfae1ea53f64202;hp=0cef65f04b0018b869f451caeb2006428dd7a0bd;hpb=fb56c33bb68eef382af7273308b0fbf9448c21e0;p=awesomized%2Flibmemcached 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; } }