mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
thrift lua TcompactProtocol bug fix
This commit is contained in:
parent
1ce7317cae
commit
3adb44aa26
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user