From 941e70da7af67963afdfee3806b43d24d40e7855 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 22 Jan 2020 10:22:31 +0100 Subject: [PATCH] libmemcached: fix #58 (connect errno) --- libmemcached/connect.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmemcached/connect.cc b/libmemcached/connect.cc index 2de01494..1cfe7940 100644 --- a/libmemcached/connect.cc +++ b/libmemcached/connect.cc @@ -579,7 +579,6 @@ static memcached_return_t network_connect(memcached_instance_st* server) timeout_error_occured= true; break; - case EAGAIN: #if EWOULDBLOCK != EAGAIN case EWOULDBLOCK: #endif @@ -617,6 +616,7 @@ static memcached_return_t network_connect(memcached_instance_st* server) // Probably not running service default: + memcached_set_errno(*server, local_error, MEMCACHED_AT); break; } -- 2.30.2