summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/SessionState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/broker/SessionState.cpp')
-rw-r--r--cpp/src/qpid/broker/SessionState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SessionState.cpp b/cpp/src/qpid/broker/SessionState.cpp
index ebf02a8306..27658f2c84 100644
--- a/cpp/src/qpid/broker/SessionState.cpp
+++ b/cpp/src/qpid/broker/SessionState.cpp
@@ -40,7 +40,7 @@ void SessionState::handleOut(AMQFrame& f) {
SessionState::SessionState(
SessionManager& f, SessionHandler& h, uint32_t timeout_, uint32_t ack)
- : framing::SessionState(ack),
+ : framing::SessionState(ack, timeout_ > 0),
factory(f), handler(&h), id(true), timeout(timeout_),
broker(h.getConnection().broker),
version(h.getConnection().getVersion()),