diff options
author | Kenneth Anthony Giusti <kgiusti@apache.org> | 2011-06-06 14:45:10 +0000 |
---|---|---|
committer | Kenneth Anthony Giusti <kgiusti@apache.org> | 2011-06-06 14:45:10 +0000 |
commit | 4ea11e4c5be72227014df0ccbaae2097de96be8b (patch) | |
tree | c572b3d14559b131614729a2870b18da5f42802b | |
parent | 427a8c19ec9e14da39fc9fd0c1e10b2865abeec1 (diff) | |
download | qpid-python-4ea11e4c5be72227014df0ccbaae2097de96be8b.tar.gz |
checkpoint: fix setup of command callback
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3079@1132661 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/src/qpid/broker/SessionState.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/qpid/broker/SessionState.cpp b/qpid/cpp/src/qpid/broker/SessionState.cpp index 4f6e7ff075..a3197ead09 100644 --- a/qpid/cpp/src/qpid/broker/SessionState.cpp +++ b/qpid/cpp/src/qpid/broker/SessionState.cpp @@ -465,8 +465,8 @@ SessionState::IncompleteIngressMsgXfer::clone() // this routine is *only* invoked when the message needs to be asynchronously completed. Otherwise, ::completed() // will be invoked directly. Thus, let the SessionState know this command is not going to complete immediately: - pendingCmdCtxt = boost::intrusive_ptr<CommandContext>(new CommandContext(msg)); - boost::intrusive_ptr<qpid::broker::SessionContext::AsyncCommandContext> ctxt(pendingCmdCtxt); + cb->pendingCmdCtxt = boost::intrusive_ptr<CommandContext>(new CommandContext(msg)); + boost::intrusive_ptr<qpid::broker::SessionContext::AsyncCommandContext> ctxt(cb->pendingCmdCtxt); session->registerAsyncCommand(ctxt); return cb; } |