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:
46e8d0b
)
THRIFT-95. cpp: Fix write buffer initialization in TBufferedTransport
author
David Reiss
<dreiss@apache.org>
Thu, 24 Jul 2008 19:10:16 +0000
(19:10 +0000)
committer
David Reiss
<dreiss@apache.org>
Thu, 24 Jul 2008 19:10:16 +0000
(19:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@679500
13f79535
-47bb-0310-9956-
ffa450edef68
lib/cpp/src/transport/TBufferTransports.h
patch
|
blob
|
history
diff --git
a/lib/cpp/src/transport/TBufferTransports.h
b/lib/cpp/src/transport/TBufferTransports.h
index
3d81a66
..
ccf4ce3
100644
(file)
--- a/
lib/cpp/src/transport/TBufferTransports.h
+++ b/
lib/cpp/src/transport/TBufferTransports.h
@@
-195,7
+195,7
@@
class TBufferedTransport : public TBufferBase {
TBufferedTransport(boost::shared_ptr<TTransport> transport, uint32_t rsz, uint32_t wsz)
: transport_(transport)
, rBufSize_(rsz)
- , wBufSize_(
r
sz)
+ , wBufSize_(
w
sz)
, rBuf_(new uint8_t[rBufSize_])
, wBuf_(new uint8_t[wBufSize_])
{