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:
5505465
)
THRIFT-1863 cocoa: [TBinaryProtocol readMessageBeginReturnName:type:sequenceID] retur...
author
Roger Meier
<roger@apache.org>
Fri, 22 Mar 2013 21:12:19 +0000
(22:12 +0100)
committer
Roger Meier
<roger@apache.org>
Fri, 22 Mar 2013 21:12:19 +0000
(22:12 +0100)
Patch: Kevin Li
lib/cocoa/src/protocol/TBinaryProtocol.m
patch
|
blob
|
history
diff --git
a/lib/cocoa/src/protocol/TBinaryProtocol.m
b/lib/cocoa/src/protocol/TBinaryProtocol.m
index
f269aaa
..
bee616e
100644
(file)
--- a/
lib/cocoa/src/protocol/TBinaryProtocol.m
+++ b/
lib/cocoa/src/protocol/TBinaryProtocol.m
@@
-118,7
+118,7
@@
static TBinaryProtocolFactory * gSharedFactory = nil;
reason: @"Bad version in readMessageBegin"];
}
if (type != NULL) {
- *type =
version
& 0x00FF;
+ *type =
size
& 0x00FF;
}
NSString * messageName = [self readString];
if (name != NULL) {