You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2019/11/03 18:07:47 UTC
[thrift] 01/02: Revert "thrift lua TcompactProtocol bug fix"
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 c5fadee94a88e4f5c8d8323305513fdb7ef552d9
Author: Jens Geyer <je...@apache.org>
AuthorDate: Sun Nov 3 19:07:04 2019 +0100
Revert "thrift lua TcompactProtocol bug fix"
This reverts commit 3adb44aa26023e4016ba844ab4bda32525d5c4fb.
---
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 7b75967..877595a 100644
--- a/lib/lua/TCompactProtocol.lua
+++ b/lib/lua/TCompactProtocol.lua
@@ -124,8 +124,8 @@ function TCompactProtocol:writeStructBegin(name)
end
function TCompactProtocol:writeStructEnd()
- self.lastFieldId = self.lastField[self.lastFieldIndex]
self.lastFieldIndex = self.lastFieldIndex - 1
+ self.lastFieldId = self.lastField[self.lastFieldIndex]
end
function TCompactProtocol:writeFieldBegin(name, ttype, id)