From 2b786221edc8a0bfd640e5755459f3973120dd7a Mon Sep 17 00:00:00 2001 From: Mark Slee Date: Tue, 13 Nov 2007 05:35:34 +0000 Subject: [PATCH] Fixing typo in Thrift trunk Summary: xter => xfer Reviewed By: sgrimm git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665329 13f79535-47bb-0310-9956-ffa450edef68 --- lib/php/src/Thrift.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/php/src/Thrift.php b/lib/php/src/Thrift.php index 9c7b4e62..a47f4aa4 100644 --- a/lib/php/src/Thrift.php +++ b/lib/php/src/Thrift.php @@ -225,7 +225,7 @@ class TException extends Exception { } else { if (isset(TBase::$tmethod[$ftype])) { $func = 'read'.TBase::$tmethod[$ftype]; - $xter += $input->$func($this->$var); + $xfer += $input->$func($this->$var); } else { switch ($ftype) { case TType::STRUCT: @@ -368,7 +368,7 @@ class TException extends Exception { $xfer += $output->writeFieldBegin($var, $ftype, $fid); if (isset(TBase::$tmethod[$ftype])) { $func = 'write'.TBase::$tmethod[$ftype]; - $xter += $output->$func($this->$var); + $xfer += $output->$func($this->$var); } else { switch ($ftype) { case TType::STRUCT: @@ -572,7 +572,7 @@ abstract class TBase { } else { if (isset(TBase::$tmethod[$ftype])) { $func = 'read'.TBase::$tmethod[$ftype]; - $xter += $input->$func($this->$var); + $xfer += $input->$func($this->$var); } else { switch ($ftype) { case TType::STRUCT: @@ -715,7 +715,7 @@ abstract class TBase { $xfer += $output->writeFieldBegin($var, $ftype, $fid); if (isset(TBase::$tmethod[$ftype])) { $func = 'write'.TBase::$tmethod[$ftype]; - $xter += $output->$func($this->$var); + $xfer += $output->$func($this->$var); } else { switch ($ftype) { case TType::STRUCT: -- 2.17.1