Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 50838 invoked from network); 20 May 2010 18:39:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 May 2010 18:39:38 -0000 Received: (qmail 66718 invoked by uid 500); 20 May 2010 18:39:38 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 66696 invoked by uid 500); 20 May 2010 18:39:38 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 66688 invoked by uid 99); 20 May 2010 18:39:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 May 2010 18:39:38 +0000 X-ASF-Spam-Status: No, hits=-1325.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 May 2010 18:39:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C774D2388978; Thu, 20 May 2010 18:39:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r946750 - /activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/net/SocketTest.cpp Date: Thu, 20 May 2010 18:39:17 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100520183917.C774D2388978@eris.apache.org> Author: tabish Date: Thu May 20 18:39:17 2010 New Revision: 946750 URL: http://svn.apache.org/viewvc?rev=946750&view=rev Log: Fix valgrind warning. Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/net/SocketTest.cpp Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/net/SocketTest.cpp URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/net/SocketTest.cpp?rev=946750&r1=946749&r2=946750&view=diff ============================================================================== --- activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/net/SocketTest.cpp (original) +++ activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/net/SocketTest.cpp Thu May 20 18:39:17 2010 @@ -388,7 +388,7 @@ void SocketTest::testGetOutputStream() { // Write some data to the server OutputStream* out = pingClient.getOutputStream(); - unsigned char buffer[250]; + unsigned char buffer[250] = {0}; out->write( buffer, 1 ); // Wait for the server to finish