fix typo [ci skip]
authorMichael Wallner <mike@php.net>
Wed, 22 Jan 2020 08:25:58 +0000 (09:25 +0100)
committerMichael Wallner <mike@php.net>
Wed, 22 Jan 2020 08:25:58 +0000 (09:25 +0100)
libmemcached/connect.cc
libmemcached/server.hpp

index 68b5be728997774112521ec7c6f58c9191f18eee..2de01494eae5476a7b2860a38ff74d2e734cf14b 100644 (file)
@@ -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;
index 6ea0b7f2007b5ced75da0f77d584a633ea6cae7e..582356d27bffe7cf5a79567845bdb3524e5f03aa 100644 (file)
@@ -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;