From: Automatic source maintenance Date: Mon, 13 Aug 2012 02:27:09 +0000 (-0600) Subject: SourceFormat Enforcement X-Git-Tag: SQUID_3_2_1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b18011efd79888ea064470b626e0d16c2ba151c;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/peer_select.cc b/src/peer_select.cc index 13805f3fc9..7b8cb75583 100644 --- a/src/peer_select.cc +++ b/src/peer_select.cc @@ -273,7 +273,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);