]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix some missing returns after rev.14933
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 11 Nov 2016 04:29:21 +0000 (17:29 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 11 Nov 2016 04:29:21 +0000 (17:29 +1300)
src/client_side_reply.cc

index 5f16fbab48e8a71924d5e090685ce92ecc80c13c..b7c236d1fec0f392fe3a2aa38215419ded478d4b 100644 (file)
@@ -607,6 +607,7 @@ clientReplyContext::cacheHit(StoreIOBuffer result)
         debugs(88, 5, "negative-HIT");
         http->logType = LOG_TCP_NEGATIVE_HIT;
         sendMoreData(result);
+        return;
     } else if (blockedHit()) {
         debugs(88, 5, "send_hit forces a MISS");
         http->logType = LOG_TCP_MISS;
@@ -659,6 +660,7 @@ clientReplyContext::cacheHit(StoreIOBuffer result)
             http->logType = LOG_TCP_MISS;
             processMiss();
         }
+        return;
     } else if (r->conditional()) {
         debugs(88, 5, "conditional HIT");
         if (processConditional(result))