Fixing typo in Thrift trunk
authorMark Slee <mcslee@apache.org>
Tue, 13 Nov 2007 05:35:34 +0000 (05:35 +0000)
committerMark Slee <mcslee@apache.org>
Tue, 13 Nov 2007 05:35:34 +0000 (05:35 +0000)
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

index 9c7b4e6..a47f4aa 100644 (file)
@@ -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: