]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Made HttpHdrCc::mask private.
authorFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 27 Sep 2011 11:16:01 +0000 (13:16 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 27 Sep 2011 11:16:01 +0000 (13:16 +0200)
src/HttpHdrCc.cci
src/HttpHdrCc.h

index 20825d8fd97c7f35212906a037640fc22ef41092..adbb0bcf772ffc222b6d49cd172d1f16af436be8 100644 (file)
@@ -34,7 +34,7 @@
 void
 HttpHdrCc::setMaxAge(int max_age_)
 {
-
+    /* keeping the mask in sync is needed e.g. for the packer functions */
     if (max_age_ >= 0) {
         set(CC_MAX_AGE);
         max_age = max_age_;
index bd6648dcfe410cf672cd421ce5fb92a5c731100a..4a0ca70870a6a1d8cac2452b81dfc12012cc46bb 100644 (file)
@@ -94,8 +94,8 @@ public:
      *
      * managed via EBIT_SET/TEST/CLR
      */
-    int32_t mask;
 private:
+    int32_t mask;
     int32_t max_age;
     int32_t s_maxage;
     int32_t max_stale;