summaryrefslogtreecommitdiffstats
path: root/modules/cache
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2011-11-24 16:53:16 +0100
committerJim Jagielski <jim@apache.org>2011-11-24 16:53:16 +0100
commitf66d79b8b2567a9ab29ff31fc842834fc15d2b3f (patch)
treedfc7e7aed82d241c0a4ca9c018ddc3bff6a05f72 /modules/cache
parentupdate xforms (diff)
downloadapache2-f66d79b8b2567a9ab29ff31fc842834fc15d2b3f.tar.xz
apache2-f66d79b8b2567a9ab29ff31fc842834fc15d2b3f.zip
Use varargs...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1205894 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cache')
-rw-r--r--modules/cache/mod_cache.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/modules/cache/mod_cache.c b/modules/cache/mod_cache.c
index 6b4e13e8a6..b95ded506a 100644
--- a/modules/cache/mod_cache.c
+++ b/modules/cache/mod_cache.c
@@ -294,9 +294,8 @@ static int cache_quick_handler(request_rec *r, int lookup)
APR_BRIGADE_INSERT_TAIL(out, e);
return ap_pass_brigade_fchk(r, out,
- apr_psprintf(r->pool,
- "cache_quick_handler(%s): ap_pass_brigade returned",
- cache->provider_name));
+ "cache_quick_handler(%s): ap_pass_brigade returned",
+ cache->provider_name);
}
/**
@@ -568,10 +567,8 @@ static int cache_handler(request_rec *r)
out = apr_brigade_create(r->pool, r->connection->bucket_alloc);
e = apr_bucket_eos_create(out->bucket_alloc);
APR_BRIGADE_INSERT_TAIL(out, e);
- return ap_pass_brigade_fchk(r, out,
- apr_psprintf(r->pool,
- "cache(%s): ap_pass_brigade returned",
- cache->provider_name));
+ return ap_pass_brigade_fchk(r, out, "cache(%s): ap_pass_brigade returned",
+ cache->provider_name);
}
/*