summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Connection.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-03-04 20:42:19 +0000
committerGordon Sim <gsim@apache.org>2008-03-04 20:42:19 +0000
commitd47950ff7a88e4684d1e07e334e705776ed569a7 (patch)
tree23f00efd6c9009f158c0b9643746dd16fd8adbf6 /cpp/src/qpid/broker/Connection.cpp
parentcf9a1617599bb680deef2bab76fc6022f7dad50b (diff)
downloadqpid-python-d47950ff7a88e4684d1e07e334e705776ed569a7.tar.gz
Further updates to support final 0-10 spec
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633627 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Connection.cpp')
-rw-r--r--cpp/src/qpid/broker/Connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/Connection.cpp b/cpp/src/qpid/broker/Connection.cpp
index 822890ae76..8be4f7756e 100644
--- a/cpp/src/qpid/broker/Connection.cpp
+++ b/cpp/src/qpid/broker/Connection.cpp
@@ -117,7 +117,7 @@ void Connection::received(framing::AMQFrame& frame){
if (mgmtClosing)
close (403, "Closed by Management Request", 0, 0);
- if (frame.getChannel() == 0) {
+ if (frame.getChannel() == 0 && frame.getMethod()) {
adapter.handle(frame);
} else {
getChannel(frame.getChannel()).in(frame);