You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2014/03/31 19:22:07 UTC

git commit: THRIFT-2439 Bug in TProtocolDecorator Class causes parsing errors

Repository: thrift
Updated Branches:
  refs/heads/master d7902bf19 -> d21032ad4


THRIFT-2439 Bug in TProtocolDecorator Class causes parsing errors

Patch: Gianluca Bargelli


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/d21032ad
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/d21032ad
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/d21032ad

Branch: refs/heads/master
Commit: d21032ad409d54aea30a78be2e3eaa04e9bda231
Parents: d7902bf
Author: Jens Geyer <je...@apache.org>
Authored: Mon Mar 31 19:21:27 2014 +0200
Committer: Jens Geyer <je...@apache.org>
Committed: Mon Mar 31 19:21:27 2014 +0200

----------------------------------------------------------------------
 lib/php/lib/Thrift/Protocol/TProtocolDecorator.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/d21032ad/lib/php/lib/Thrift/Protocol/TProtocolDecorator.php
----------------------------------------------------------------------
diff --git a/lib/php/lib/Thrift/Protocol/TProtocolDecorator.php b/lib/php/lib/Thrift/Protocol/TProtocolDecorator.php
index a3067ec..4f1746c 100644
--- a/lib/php/lib/Thrift/Protocol/TProtocolDecorator.php
+++ b/lib/php/lib/Thrift/Protocol/TProtocolDecorator.php
@@ -219,7 +219,7 @@ abstract class TProtocolDecorator extends TProtocol
 
     public function readMapBegin(&$keyType, &$valType, &$size)
     {
-        $this->concreteProtocol_->readFieldEnd($keyType, $valType, $size);
+        $this->concreteProtocol_->readMapBegin($keyType, $valType, $size);
     }
 
     public function readMapEnd()