You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ja...@apache.org on 2010/08/06 04:37:45 UTC
svn commit: r982853 - /incubator/thrift/trunk/lib/js/thrift.js
Author: jake
Date: Fri Aug 6 02:37:45 2010
New Revision: 982853
URL: http://svn.apache.org/viewvc?rev=982853&view=rev
Log:
THRIFT-815: fix for broken list testcase
Modified:
incubator/thrift/trunk/lib/js/thrift.js
Modified: incubator/thrift/trunk/lib/js/thrift.js
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/js/thrift.js?rev=982853&r1=982852&r2=982853&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/js/thrift.js (original)
+++ incubator/thrift/trunk/lib/js/thrift.js Fri Aug 6 02:37:45 2010
@@ -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()]