From: Michael Wallner Date: Wed, 22 Jan 2020 09:22:31 +0000 (+0100) Subject: libmemcached: fix #58 (connect errno) X-Git-Tag: pre_cmake~12 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=941e70da7af67963afdfee3806b43d24d40e7855;p=awesomized%2Flibmemcached libmemcached: fix #58 (connect errno) --- 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; }