diff options
| author | Ken Giusti <kgiusti@apache.org> | 2012-03-02 20:51:28 +0000 |
|---|---|---|
| committer | Ken Giusti <kgiusti@apache.org> | 2012-03-02 20:51:28 +0000 |
| commit | 3812f7516fab364fffa99e613f5618e924cc6776 (patch) | |
| tree | 83c240b7aa9c9f1f3e5ab95ea3760f4b5b65aa00 /cpp/src/qpid/broker/Exchange.cpp | |
| parent | 3324e0c4e26f04b1471968c947fadb797982ad4a (diff) | |
| download | qpid-python-3812f7516fab364fffa99e613f5618e924cc6776.tar.gz | |
QPID-3875: fix indentation
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1296449 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Exchange.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/Exchange.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/cpp/src/qpid/broker/Exchange.cpp b/cpp/src/qpid/broker/Exchange.cpp index bf0dac111f..16a6427a65 100644 --- a/cpp/src/qpid/broker/Exchange.cpp +++ b/cpp/src/qpid/broker/Exchange.cpp @@ -135,23 +135,23 @@ void Exchange::doRoute(Deliverable& msg, ConstBindingList b) if (mgmtExchange != 0) { - qmf::org::apache::qpid::broker::Exchange::PerThreadStats *eStats = mgmtExchange->getStatistics(); - uint64_t contentSize = msg.contentSize(); + qmf::org::apache::qpid::broker::Exchange::PerThreadStats *eStats = mgmtExchange->getStatistics(); + uint64_t contentSize = msg.contentSize(); - eStats->msgReceives += 1; - eStats->byteReceives += contentSize; - if (count == 0) + eStats->msgReceives += 1; + eStats->byteReceives += contentSize; + if (count == 0) { - //QPID_LOG(warning, "Exchange " << getName() << " could not route message; no matching binding found"); - eStats->msgDrops += 1; - eStats->byteDrops += contentSize; - if (brokerMgmtObject) - brokerMgmtObject->inc_discardsNoRoute(); + //QPID_LOG(warning, "Exchange " << getName() << " could not route message; no matching binding found"); + eStats->msgDrops += 1; + eStats->byteDrops += contentSize; + if (brokerMgmtObject) + brokerMgmtObject->inc_discardsNoRoute(); } - else + else { - eStats->msgRoutes += count; - eStats->byteRoutes += count * contentSize; + eStats->msgRoutes += count; + eStats->byteRoutes += count * contentSize; } } } |
