THRIFT-2439 Bug in TProtocolDecorator Class causes parsing errors
authorJens Geyer <jensg@apache.org>
Mon, 31 Mar 2014 17:21:27 +0000 (19:21 +0200)
committerJens Geyer <jensg@apache.org>
Mon, 31 Mar 2014 17:21:27 +0000 (19:21 +0200)
Patch: Gianluca Bargelli

lib/php/lib/Thrift/Protocol/TProtocolDecorator.php

index a3067ec..4f1746c 100644 (file)
@@ -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()