commit | 42b9be191eec2f18c75db965c4839f4a15d20f11 | [log] [tgz] |
---|---|---|
author | Phillipp Röll <phillipp.roell@trafficplex.de> | Sun Jun 21 14:38:31 2015 +0200 |
committer | Roger Meier <roger@apache.org> | Sun Jun 21 21:31:41 2015 +0200 |
tree | 6208e88df24ffbfc1173e9064b79cf83386f5a1c | |
parent | 8b4700265cef54c6544345530b33cd2274caec62 [diff] |
THRIFT-3196: Fix a typo in the lua TBinaryProtocol This closes #525
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 @@ }) 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)