summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/SessionHandler.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-09-19 23:35:07 +0000
committerAlan Conway <aconway@apache.org>2007-09-19 23:35:07 +0000
commitef8c465d84471330b6c17cdd2b98fb166ff94e57 (patch)
tree1ce5a6fae056a7b0ef00d4c749fc1d8136681dc4 /cpp/src/qpid/client/SessionHandler.cpp
parent05b3bf8f25b004ec8761c4d52a6740f60cbd9d2d (diff)
downloadqpid-python-ef8c465d84471330b6c17cdd2b98fb166ff94e57.tar.gz
Fix uninitialized memory error.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@577468 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/SessionHandler.cpp')
-rw-r--r--cpp/src/qpid/client/SessionHandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/SessionHandler.cpp b/cpp/src/qpid/client/SessionHandler.cpp
index 3885ac437a..93e628ab34 100644
--- a/cpp/src/qpid/client/SessionHandler.cpp
+++ b/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<int> states;