From 2af819da28e2e382c9dfd20ceb97b614982060cf Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 19 Sep 2007 23:35:07 +0000 Subject: Fix uninitialized memory error. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@577468 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/client/SessionHandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qpid/cpp') diff --git a/qpid/cpp/src/qpid/client/SessionHandler.cpp b/qpid/cpp/src/qpid/client/SessionHandler.cpp index 3885ac437a..93e628ab34 100644 --- a/qpid/cpp/src/qpid/client/SessionHandler.cpp +++ b/qpid/cpp/src/qpid/client/SessionHandler.cpp @@ -74,7 +74,8 @@ void SessionHandler::open(uint16_t _id) 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 states; -- cgit v1.2.1