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

index 373a14a4c3caffe392c4275dca8cd04b9a9747a1..9747af8f2c360cd0e84070548ebe276e672270c0 100644 (file)
@@ -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);