From 50ada935244fe50ac53264a9daee4b0b7dad2d87 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Tue, 15 Jun 2004 22:43:11 +0000 Subject: [PATCH] silence list, not sure if the port should always be set --- includes/memcached-client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/memcached-client.php b/includes/memcached-client.php index 27521809eb..17d9ecbecd 100644 --- a/includes/memcached-client.php +++ b/includes/memcached-client.php @@ -667,7 +667,7 @@ class memcached function _dead_sock ($sock) { $host = array_search($sock, $this->_cache_sock); - list ($ip, $port) = explode(":", $host); + @list ($ip, $port) = explode(":", $host); $this->_host_dead[$ip] = time() + 30 + intval(rand(0, 10)); $this->_host_dead[$host] = $this->_host_dead[$ip]; unset($this->_cache_sock[$host]); -- 2.20.1