You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2009/02/25 01:59:55 UTC

svn commit: r747635 - /incubator/thrift/trunk/lib/cpp/src/protocol/TProtocol.h

Author: dreiss
Date: Wed Feb 25 00:59:55 2009
New Revision: 747635

URL: http://svn.apache.org/viewvc?rev=747635&view=rev
Log:
THRIFT-348. cpp: Fix readBool for vectors of bools (again)

This bug only affected the returned number bytes read
(which is not currently used), not the actual bool value.

Modified:
    incubator/thrift/trunk/lib/cpp/src/protocol/TProtocol.h

Modified: incubator/thrift/trunk/lib/cpp/src/protocol/TProtocol.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/protocol/TProtocol.h?rev=747635&r1=747634&r2=747635&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/protocol/TProtocol.h (original)
+++ incubator/thrift/trunk/lib/cpp/src/protocol/TProtocol.h Wed Feb 25 00:59:55 2009
@@ -217,6 +217,7 @@
     bool value;
     uint32_t rv = readBool(value);
     ref = value;
+    return rv;
   }
 
   /**