]> granicus.if.org Git - apache/commitdiff
mod_cache: follow up to r1591390
authorYann Ylavic <ylavic@apache.org>
Wed, 30 Apr 2014 16:53:00 +0000 (16:53 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 30 Apr 2014 16:53:00 +0000 (16:53 +0000)
Fix code typo.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1591394 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_cache.c

index 042e0e042fc720496956371a90fbe19c9d5ff84c..afa1980515602e12e04ae72bed1050ff140131be 100644 (file)
@@ -1136,7 +1136,7 @@ static apr_status_t cache_save_filter(ap_filter_t *f, apr_bucket_brigade *in)
         if (cache_header_cmp(r->pool, left, right, "ETag")) {
             ehs = "ETag";
         }
-        for (eh = MOD_CACHE_ENTITY_HEADERS; *eh && !reason; ++eh) {
+        for (eh = MOD_CACHE_ENTITY_HEADERS; *eh; ++eh) {
             if (cache_header_cmp(r->pool, left, right, *eh)) {
                 ehs = (ehs) ? apr_pstrcat(r->pool, ehs, ", ", *eh, NULL) : *eh;
             }