Repository: thrift Updated Branches: refs/heads/master 8b4700265 -> 42b9be191
THRIFT-3196: Fix a typo in the lua TBinaryProtocol This closes #525 Project: http://git-wip-us.apache.org/repos/asf/thrift/repo Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/42b9be19 Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/42b9be19 Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/42b9be19 Branch: refs/heads/master Commit: 42b9be191eec2f18c75db965c4839f4a15d20f11 Parents: 8b47002 Author: Phillipp Röll <[email protected]> Authored: Sun Jun 21 14:38:31 2015 +0200 Committer: Roger Meier <[email protected]> Committed: Sun Jun 21 21:31:41 2015 +0200 ---------------------------------------------------------------------- lib/lua/TBinaryProtocol.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/thrift/blob/42b9be19/lib/lua/TBinaryProtocol.lua ---------------------------------------------------------------------- diff --git a/lib/lua/TBinaryProtocol.lua b/lib/lua/TBinaryProtocol.lua index df13d61..4b8e98a 100644 --- a/lib/lua/TBinaryProtocol.lua +++ b/lib/lua/TBinaryProtocol.lua @@ -31,7 +31,7 @@ TBinaryProtocol = __TObject.new(TProtocolBase, { }) function TBinaryProtocol:writeMessageBegin(name, ttype, seqid) - if self.stirctWrite then + if self.strictWrite then self:writeI32(libluabitwise.bor(TBinaryProtocol.VERSION_1, ttype)) self:writeString(name) self:writeI32(seqid)
