Fix identifier typo in Thrift error message.
authorKarl Lehenbauer <karl@apache.org>
Wed, 17 Jan 2007 18:56:10 +0000 (18:56 +0000)
committerKarl Lehenbauer <karl@apache.org>
Wed, 17 Jan 2007 18:56:10 +0000 (18:56 +0000)
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

index 4652e0f..dca69f9 100644 (file)
@@ -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