qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r577468 - /incubator/qpid/trunk/qpid/cpp/src/qpid/client/SessionHandler.cpp
Date Wed, 19 Sep 2007 23:35:08 GMT
Author: aconway
Date: Wed Sep 19 16:35:07 2007
New Revision: 577468

URL: http://svn.apache.org/viewvc?rev=577468&view=rev
Log:
Fix uninitialized memory error.

Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/client/SessionHandler.cpp

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/client/SessionHandler.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/client/SessionHandler.cpp?rev=577468&r1=577467&r2=577468&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/client/SessionHandler.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/client/SessionHandler.cpp Wed Sep 19 16:35:07 2007
@@ -74,7 +74,8 @@
     id = _id;
 
     setState(OPENING);
-    AMQFrame f(id, SessionOpenBody(version));
+    // FIXME aconway 2007-09-19: Need to get this from API.
+    AMQFrame f(id, SessionOpenBody(version, 0));
     out(f);
 
     std::set<int> states;



Mime
View raw message