Thrift: TMemoryBuffer now handles NULLs again.
authorDavid Reiss <dreiss@apache.org>
Thu, 23 Aug 2007 00:14:48 +0000 (00:14 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 23 Aug 2007 00:14:48 +0000 (00:14 +0000)
commit25b5ee3285d9230fcda9ec30ca99db306906ae89
treea3fb97a26c21ca02b500503e6a181129a681c288
parentbc3dddb91c1e26ecfa290c10f9a5950adc8dedd1
Thrift: TMemoryBuffer now handles NULLs again.

Summary:
Boz is using TMemoryBuffer by constructing it will a NULL buffer,
then doing a resetBuffer later.  This patch re-enables that.

Blame Rev: 55988

Reviewed By: aditya

Test Plan:
Thrift compiles.
Will test feed after this is comitted.

Revert Plan: ok

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665216 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/src/transport/TTransportUtils.cpp
lib/cpp/src/transport/TTransportUtils.h