summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorT Jake Luciani <jake@apache.org>2010-08-06 02:37:45 +0000
committerT Jake Luciani <jake@apache.org>2010-08-06 02:37:45 +0000
commitb22b51eea25698e2eb1319850835567dbfb28278 (patch)
tree29c25243578907557ecdc51363fe4e803ff0c3ac
parentf5abd26858f6839c9b8853c8fe810b94b310d1ad (diff)
downloadthrift-b22b51eea25698e2eb1319850835567dbfb28278.tar.gz
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
-rw-r--r--lib/js/thrift.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/js/thrift.js b/lib/js/thrift.js
index 04a34d1d4..f048dbffd 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()]