A new user interface for you! Read more...

File 0003-TDenseProtocol.patch of Package thrift

Index: thrift-0.9.0/lib/cpp/src/thrift/protocol/TDenseProtocol.cpp
===================================================================
--- thrift-0.9.0.orig/lib/cpp/src/thrift/protocol/TDenseProtocol.cpp
+++ thrift-0.9.0/lib/cpp/src/thrift/protocol/TDenseProtocol.cpp
@@ -304,7 +304,7 @@ uint32_t TDenseProtocol::writeStructBegi
 
   // We need a new field index for this structure.
   idx_stack_.push_back(0);
-  return 0;
+  return xfer;
 }
 
 uint32_t TDenseProtocol::writeStructEnd() {
@@ -538,7 +538,7 @@ uint32_t TDenseProtocol::readStructBegin
 
   // We need a new field index for this structure.
   idx_stack_.push_back(0);
-  return 0;
+  return xfer;
 }
 
 uint32_t TDenseProtocol::readStructEnd() {