mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 18:58:51 +00:00
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:
parent
7a4ff6be4d
commit
1931b12be0
@ -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 '.
|
||||
|
Loading…
Reference in New Issue
Block a user