From 2850f131e2c3d16977386f5f9661edd527ff119f Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Tue, 25 Jan 2022 18:03:36 -0800 Subject: [PATCH] Fix code style --- node/Bond.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/node/Bond.cpp b/node/Bond.cpp index f74d4a570..5105d7687 100644 --- a/node/Bond.cpp +++ b/node/Bond.cpp @@ -488,10 +488,10 @@ int32_t Bond::generateQoSPacket(int pathIdx, int64_t now, char* qosBuffer) bool Bond::assignFlowToBondedPath(SharedPtr& flow, int64_t now) { - if (! _numBondedPaths) { - log("unable to assign flow %x (bond has no links)\n", flow->id); - return false; - } + if (! _numBondedPaths) { + log("unable to assign flow %x (bond has no links)\n", flow->id); + return false; + } unsigned int idx = ZT_MAX_PEER_NETWORK_PATHS; if (_policy == ZT_BOND_POLICY_BALANCE_XOR) { idx = abs((int)(flow->id % (_numBondedPaths)));