Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
a9294a9
)
Ruby TBinaryProtocol fix
author
Mark Slee
<mcslee@apache.org>
Sat, 23 Jun 2007 00:08:13 +0000
(
00:08
+0000)
committer
Mark Slee
<mcslee@apache.org>
Sat, 23 Jun 2007 00:08:13 +0000
(
00:08
+0000)
Summary: VERSION_1 | type, not &, wrong binary operator
Reviewed By: binary
Test Plan: TestClient.rb
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665141
13f79535
-47bb-0310-9956-
ffa450edef68
lib/rb/lib/thrift/protocol/tbinaryprotocol.rb
patch
|
blob
|
history
diff --git
a/lib/rb/lib/thrift/protocol/tbinaryprotocol.rb
b/lib/rb/lib/thrift/protocol/tbinaryprotocol.rb
index
c8fa57d
..
a152bf2
100644
(file)
--- a/
lib/rb/lib/thrift/protocol/tbinaryprotocol.rb
+++ b/
lib/rb/lib/thrift/protocol/tbinaryprotocol.rb
@@
-20,7
+20,7
@@
class TBinaryProtocol < TProtocol
end
def writeMessageBegin(name, type, seqid)
- writeI32(VERSION_1
&
type)
+ writeI32(VERSION_1
|
type)
writeString(name)
writeI32(seqid)
end