diff options
| author | Alan Conway <aconway@apache.org> | 2007-09-19 23:35:07 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-09-19 23:35:07 +0000 |
| commit | 2af819da28e2e382c9dfd20ceb97b614982060cf (patch) | |
| tree | 57c80c9a59f2eba953e91884d847dab64e742a4f /qpid/cpp | |
| parent | ad7e2acbe181d6ffe4d091b759ba4e9e4d4a31b5 (diff) | |
| download | qpid-python-2af819da28e2e382c9dfd20ceb97b614982060cf.tar.gz | |
Fix uninitialized memory error.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@577468 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/src/qpid/client/SessionHandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<int> states; |
