This is an automated email from the ASF dual-hosted git repository. jensg pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/thrift.git
commit a5b2bf5b0bc82545b26b7a42bbf7b5dc9ef51b33 Author: xiongjieqing <[email protected]> AuthorDate: Thu Sep 26 18:27:25 2019 +0800 THRIFT-4992 thrift lua TcompactProtocol bug fix #1881 Client: Lua Patch: xiongjieqing <[email protected]> --- lib/lua/TCompactProtocol.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lua/TCompactProtocol.lua b/lib/lua/TCompactProtocol.lua index 877595a..7b75967 100644 --- a/lib/lua/TCompactProtocol.lua +++ b/lib/lua/TCompactProtocol.lua @@ -124,8 +124,8 @@ function TCompactProtocol:writeStructBegin(name) end function TCompactProtocol:writeStructEnd() - self.lastFieldIndex = self.lastFieldIndex - 1 self.lastFieldId = self.lastField[self.lastFieldIndex] + self.lastFieldIndex = self.lastFieldIndex - 1 end function TCompactProtocol:writeFieldBegin(name, ttype, id)
