From 0f84b52d3d83d522cdd1242cce5bffca8ee74f2a Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 14 Apr 2008 21:11:25 +0000 Subject: * Fix interpretation of accept-mode, 0 == EXPLICIT * Ensure accepts are taken into account in command sequence git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@647999 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/SessionState.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/src/qpid/broker/SessionState.cpp') diff --git a/cpp/src/qpid/broker/SessionState.cpp b/cpp/src/qpid/broker/SessionState.cpp index d719bbe145..64d62934b9 100644 --- a/cpp/src/qpid/broker/SessionState.cpp +++ b/cpp/src/qpid/broker/SessionState.cpp @@ -230,6 +230,7 @@ void SessionState::enqueued(boost::intrusive_ptr msg) { completed.add(msg->getCommandId()); if (msg->requiresAccept()) { + nextOut++;//accept is a command, so the counter must be incremented getProxy().getMessage010().accept(SequenceSet(msg->getCommandId())); } } -- cgit v1.2.1