From: Mark Slee Date: Tue, 13 Nov 2007 05:35:34 +0000 (+0000) Subject: Fixing typo in Thrift trunk X-Git-Tag: 0.2.0~1143 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=2b786221edc8a0bfd640e5755459f3973120dd7a;p=common%2Fthrift.git 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 --- 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: