From 61b948a92ab79734b009a438b5cf3bfad03cb59d Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 22 Jan 2020 09:25:58 +0100 Subject: [PATCH] fix typo [ci skip] --- libmemcached/connect.cc | 2 +- libmemcached/server.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libmemcached/connect.cc b/libmemcached/connect.cc index 68b5be72..2de01494 100644 --- a/libmemcached/connect.cc +++ b/libmemcached/connect.cc @@ -146,7 +146,7 @@ static memcached_return_t connect_poll(memcached_instance_st* server, const int return memcached_set_errno(*server, errno, MEMCACHED_AT, memcached_literal_param("getsockopt() errored while looking up error state from poll()")); } - // We check the value to see what happened wth the socket. + // We check the value to see what happened with the socket. if (err == 0) // Should not happen { return MEMCACHED_SUCCESS; diff --git a/libmemcached/server.hpp b/libmemcached/server.hpp index 6ea0b7f2..582356d2 100644 --- a/libmemcached/server.hpp +++ b/libmemcached/server.hpp @@ -91,7 +91,7 @@ static inline void memcached_mark_server_for_timeout(memcached_instance_st* serv } else { - server->next_retry= 1; // Setting the value to 1 causes the timeout to occur immediatly + server->next_retry= 1; // Setting the value to 1 causes the timeout to occur immediately } server->state= MEMCACHED_SERVER_STATE_IN_TIMEOUT; -- 2.30.2