diff options
Diffstat (limited to 'cpp/src/qpid/broker/SessionHandler.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/SessionHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/SessionHandler.cpp b/cpp/src/qpid/broker/SessionHandler.cpp index f5fa22060f..e59a79f711 100644 --- a/cpp/src/qpid/broker/SessionHandler.cpp +++ b/cpp/src/qpid/broker/SessionHandler.cpp @@ -117,7 +117,7 @@ void SessionHandler::attach(const std::string& _name, bool /*force*/) //TODO: need to revise session manager to support resume as well assertClosed("attach"); - session.reset(new SessionState(0, this, 0, 0)); + session.reset(new SessionState(0, this, 0, 0, name)); peerSession.attached(name); peerSession.commandPoint(session->nextOut, 0); } @@ -126,7 +126,7 @@ void SessionHandler::attached(const std::string& _name) { name = _name;//TODO: this should be used in conjunction with //userid for connection as sessions identity - session.reset(new SessionState(0, this, 0, 0)); + session.reset(new SessionState(0, this, 0, 0, name)); peerSession.commandPoint(session->nextOut, 0); } |
