From 893ef724c351d30d73f83827147a0287ec1d6751 Mon Sep 17 00:00:00 2001 From: Karl Lehenbauer Date: Wed, 17 Jan 2007 18:56:10 +0000 Subject: [PATCH] Fix identifier typo in Thrift error message. Trac Bug: # Reviewed By: Test Plan: The correct error message appears when a PHP Thrift client can't connect to a server. Set that up, and try and get the error message: [Wed Jan 17 10:41:41 2007] [error] TSocketPool: retryInterval (60) has passed for host dev007:8188 ...then you're good. If you get something about a undefined property, then this fix didn't work. Revert Plan: Revertible git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664920 13f79535-47bb-0310-9956-ffa450edef68 --- lib/php/src/transport/TSocketPool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/php/src/transport/TSocketPool.php b/lib/php/src/transport/TSocketPool.php index 4652e0f6..dca69f98 100644 --- a/lib/php/src/transport/TSocketPool.php +++ b/lib/php/src/transport/TSocketPool.php @@ -232,7 +232,7 @@ class TSocketPool extends TSocket { if ($this->debug_) { call_user_func($this->debugHandler_, 'TSocketPool: marking '.$host.':'.$port. - ' as down for '.$this->retryInterval.' secs '. + ' as down for '.$this->retryInterval_.' secs '. 'after '.$consecfails.' failed attempts.'); } // Store the failure time -- 2.17.1