activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r596485 - /activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.cpp
Date Mon, 19 Nov 2007 23:27:31 GMT
Author: tabish
Date: Mon Nov 19 15:27:30 2007
New Revision: 596485

URL: http://svn.apache.org/viewvc?rev=596485&view=rev
Log:
http://issues.apache.org/activemq/browse/AMQCPP-103

Working on the NIO package

Modified:
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.cpp

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.cpp?rev=596485&r1=596484&r2=596485&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.cpp (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.cpp Mon Nov 19
15:27:30 2007
@@ -167,7 +167,7 @@
 
 ////////////////////////////////////////////////////////////////////////////////
 void ByteArray::clear() {
-    memset( this->array, this->capacity, 0 );
+    memset( this->array, 0, this->capacity );
 }
 
 ////////////////////////////////////////////////////////////////////////////////



Mime
View raw message