From: Michael Wallner Date: Wed, 22 Jan 2020 08:25:58 +0000 (+0100) Subject: fix typo [ci skip] X-Git-Tag: pre_cmake~13 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=61b948a92ab79734b009a438b5cf3bfad03cb59d;p=awesomized%2Flibmemcached fix typo [ci skip] --- 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;