]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Mon, 13 Aug 2012 02:27:09 +0000 (20:27 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Mon, 13 Aug 2012 02:27:09 +0000 (20:27 -0600)
src/peer_select.cc

index 13805f3fc93493bb003bd4d432c67ead9fbe85a3..7b8cb75583a15d0ca5f034e80cf4f523fc79141d 100644 (file)
@@ -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);