]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorSource Maintenance <squidadm@squid-cache.org>
Fri, 31 Mar 2017 12:14:21 +0000 (12:14 +0000)
committerSource Maintenance <squidadm@squid-cache.org>
Fri, 31 Mar 2017 12:14:21 +0000 (12:14 +0000)
src/MemObject.cc

index 141b73702eb32105e2bb4483e3ed9ef69de655dc..0435cd26ede694ac3e51904a1fc75612d0fac5c8 100644 (file)
@@ -463,12 +463,12 @@ void
 MemObject::delayRead(DeferredRead const &aRead)
 {
 #if USE_DELAY_POOLS
-        if (readAheadPolicyCanRead()) {
-            if (DelayId mostAllowedId = mostBytesAllowed()) {
-                mostAllowedId.delayRead(aRead);
-                return;
-            }
+    if (readAheadPolicyCanRead()) {
+        if (DelayId mostAllowedId = mostBytesAllowed()) {
+            mostAllowedId.delayRead(aRead);
+            return;
         }
+    }
 #endif
     deferredReads.delayRead(aRead);
 }