From b22b51eea25698e2eb1319850835567dbfb28278 Mon Sep 17 00:00:00 2001 From: T Jake Luciani Date: Fri, 6 Aug 2010 02:37:45 +0000 Subject: [PATCH] THRIFT-815: fix for broken list testcase git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@982853 13f79535-47bb-0310-9956-ffa450edef68 --- lib/js/thrift.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/js/thrift.js b/lib/js/thrift.js index 04a34d1d..f048dbff 100644 --- a/lib/js/thrift.js +++ b/lib/js/thrift.js @@ -559,7 +559,7 @@ Thrift.Protocol.prototype = { readMapBegin : function(keyType,valType,size){ - var map = this.rstack[this.rstack.length-1] + var map = this.rstack.pop() var r = {}; r["ktype"] = Thrift.Protocol.RType[map.shift()] -- 2.17.1