From: Automatic source maintenance Date: Mon, 13 Aug 2012 00:15:09 +0000 (-0600) Subject: SourceFormat Enforcement X-Git-Tag: sourceformat-review-1~111 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9bc681870dc12221718758f97f5bd4ab380373d2;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/peer_select.cc b/src/peer_select.cc index 373a14a4c3..9747af8f2c 100644 --- a/src/peer_select.cc +++ b/src/peer_select.cc @@ -263,7 +263,7 @@ peerSelectDnsPaths(ps_state *psstate) // due to the allocation method of fs, we must deallocate each manually. // TODO: use a std::list so we can get the size and abort adding whenever the selection loops reach Config.forward_max_tries if (fs && psstate->paths->size() >= (unsigned int)Config.forward_max_tries) { - while(fs) { + while (fs) { FwdServer *next = fs->next; cbdataReferenceDone(fs->_peer); memFree(fs, MEM_FWD_SERVER);