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:
f4c71c7
)
THRIFT-348. cpp: Fix readBool for vectors of bools (again)
author
David Reiss
<dreiss@apache.org>
Wed, 25 Feb 2009 00:59:55 +0000
(
00:59
+0000)
committer
David Reiss
<dreiss@apache.org>
Wed, 25 Feb 2009 00:59:55 +0000
(
00:59
+0000)
This bug only affected the returned number bytes read
(which is not currently used), not the actual bool value.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@747635
13f79535
-47bb-0310-9956-
ffa450edef68
lib/cpp/src/protocol/TProtocol.h
patch
|
blob
|
history
diff --git
a/lib/cpp/src/protocol/TProtocol.h
b/lib/cpp/src/protocol/TProtocol.h
index
5dcea2b
..
4507d91
100644
(file)
--- a/
lib/cpp/src/protocol/TProtocol.h
+++ b/
lib/cpp/src/protocol/TProtocol.h
@@
-217,6
+217,7
@@
class TProtocol {
bool value;
uint32_t rv = readBool(value);
ref = value;
+ return rv;
}
/**