]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fixed build broken by r14601: Use trunk, not v3.5 ID for Cache-Control.
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 21 Mar 2016 04:48:44 +0000 (22:48 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 21 Mar 2016 04:48:44 +0000 (22:48 -0600)
src/HttpMsg.cc

index 5e42e4f09d29f1c5988e50f909ca9c89ec2600c6..df95791720c29228317fe37b5daac8392f22b6e9 100644 (file)
@@ -42,7 +42,7 @@ HttpMsg::putCc(const HttpHdrCc *otherCc)
         delete cache_control;
         cache_control = nullptr;
         if (!otherCc)
-            header.delById(HDR_CACHE_CONTROL);
+            header.delById(Http::HdrType::CACHE_CONTROL);
         // else it will be deleted inside putCc() below
     }