php: Fix an undefined variasble in an error message

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@677698 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David Reiss 2008-07-17 19:36:34 +00:00
parent 7a4ff6be4d
commit 1931b12be0

View File

@ -277,7 +277,7 @@ class TSocket extends TTransport {
if ($got === 0 || $got === FALSE) {
$md = stream_get_meta_data($this->handle_);
if ($md['timed_out']) {
throw new TException('TSocket: timed out writing '.$len.' bytes from '.
throw new TException('TSocket: timed out writing '.strlen($buf).' bytes from '.
$this->host_.':'.$this->port_);
} else {
throw new TException('TSocket: Could not write '.strlen($buf).' bytes '.