Fix a few copy-paste errors in TBufferTransports (not code).


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665684 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/transport/TBufferTransports.h b/lib/cpp/src/transport/TBufferTransports.h
index 4277d40..a36562e 100644
--- a/lib/cpp/src/transport/TBufferTransports.h
+++ b/lib/cpp/src/transport/TBufferTransports.h
@@ -4,8 +4,8 @@
 // See accompanying file LICENSE or visit the Thrift site at:
 // http://developers.facebook.com/thrift/
 
-#ifndef _THRIFT_TRANSPORT_TDOUBLEBUFFERS_H_
-#define _THRIFT_TRANSPORT_TDOUBLEBUFFERS_H_ 1
+#ifndef _THRIFT_TRANSPORT_TBUFFERTRANSPORTS_H_
+#define _THRIFT_TRANSPORT_TBUFFERTRANSPORTS_H_ 1
 
 #include "boost/scoped_array.hpp"
 
@@ -105,7 +105,7 @@
   /// Slow path read.
   virtual uint32_t readSlow(uint8_t* buf, uint32_t len) = 0;
 
-  /// Slow path read.
+  /// Slow path write.
   virtual void writeSlow(const uint8_t* buf, uint32_t len) = 0;
 
   /**
@@ -135,7 +135,7 @@
     rBound_ = buf+len;
   }
 
-  /// Convenience mutator for setting the read buffer.
+  /// Convenience mutator for setting the write buffer.
   void setWriteBuffer(uint8_t* buf, uint32_t len) {
     wBase_ = buf;
     wBound_ = buf+len;
@@ -661,4 +661,4 @@
 
 }}} // facebook::thrift::transport
 
-#endif // #ifndef _THRIFT_TRANSPORT_TDOUBLEBUFFERS_H_
+#endif // #ifndef _THRIFT_TRANSPORT_TBUFFERTRANSPORTS_H_