]> granicus.if.org Git - apache/commitdiff
SHould be using ths string form of exp (which is exps).
authorBill Stoddard <stoddard@apache.org>
Tue, 17 Dec 2002 19:12:38 +0000 (19:12 +0000)
committerBill Stoddard <stoddard@apache.org>
Tue, 17 Dec 2002 19:12:38 +0000 (19:12 +0000)
Reported by:Joe Orton

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

modules/experimental/mod_cache.c

index bf7ccbebfe78e1d724576b7f0979942ee05cd587..5c43c12185f0c6f2d1be19aa1a1ffd539898749d 100644 (file)
@@ -536,7 +536,7 @@ static int cache_in_filter(ap_filter_t *f, apr_bucket_brigade *in)
         } 
         else if (exps != NULL && exp == APR_DATE_BAD) {
             /* if a broken Expires header is present, don't cache it */
-            reason = apr_psprintf(p, "Broken expires header %s", exp);
+            reason = apr_psprintf(p, "Broken expires header %s", exps);
         }
         else if (r->args && exps == NULL) {
             /* if query string present but no expiration time, don't cache it