From 8c6d2769b172febb314d50b9fa9eaf9f1214c98b Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 16 Nov 2009 14:25:13 -0800 Subject: [PATCH] mon: move misplaced parens --- src/mon/Monitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 93c98d0972a3..fe9e46a75c91 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -522,7 +522,7 @@ do { \ #define ALLOW_MESSAGES_FROM(peers) \ do { \ - if ((connection && connection->get_peer_type() & (peers | CEPH_ENTITY_TYPE_MON)) == 0) { \ + if (connection && (connection->get_peer_type() & (peers | CEPH_ENTITY_TYPE_MON)) == 0) { \ dout(0) << "filtered out request, peer=" << connection->get_peer_type() \ << " allowing=" << #peers << " message=" << *m << dendl; \ delete m; \ -- 2.47.3