commit | 5317b1ecd23bc6ba29905cff6f8e411fbfe287f8 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Thu Jul 24 19:10:16 2008 +0000 |
committer | David Reiss <dreiss@apache.org> | Thu Jul 24 19:10:16 2008 +0000 |
tree | a49c45aecf8cab4133d58ae243680a26beb67177 | |
parent | 46e8d0b8fb18e25baf45a51715d7e3129a17fdb6 [diff] |
THRIFT-95. cpp: Fix write buffer initialization in TBufferedTransport git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@679500 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/transport/TBufferTransports.h b/lib/cpp/src/transport/TBufferTransports.h index 3d81a66..ccf4ce3 100644 --- a/lib/cpp/src/transport/TBufferTransports.h +++ b/lib/cpp/src/transport/TBufferTransports.h
@@ -195,7 +195,7 @@ TBufferedTransport(boost::shared_ptr<TTransport> transport, uint32_t rsz, uint32_t wsz) : transport_(transport) , rBufSize_(rsz) - , wBufSize_(rsz) + , wBufSize_(wsz) , rBuf_(new uint8_t[rBufSize_]) , wBuf_(new uint8_t[wBufSize_]) {