From: Karl Lehenbauer Date: Wed, 17 Jan 2007 18:56:10 +0000 (+0000) Subject: Fix identifier typo in Thrift error message. X-Git-Tag: 0.2.0~1552 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=893ef724c351d30d73f83827147a0287ec1d6751;p=common%2Fthrift.git 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 --- 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