summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2013-01-03 03:25:23 +0100
committerGuenter Knauf <fuankg@apache.org>2013-01-03 03:25:23 +0100
commit2eb1a07d4a53c2fa37af57e3c0a725a720a5eab2 (patch)
tree06731a1cdf43c87a81c443c0a62869e95f64bfcc
parentAdd some caching for password hash validation. (diff)
downloadapache2-2eb1a07d4a53c2fa37af57e3c0a725a720a5eab2.tar.xz
apache2-2eb1a07d4a53c2fa37af57e3c0a725a720a5eab2.zip
Stupid CodeWarrior compiler cant take vars with struct inits.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1428145 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/http/http_filters.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c
index 71c893afe0..ff88c848e6 100644
--- a/modules/http/http_filters.c
+++ b/modules/http/http_filters.c
@@ -680,8 +680,9 @@ static int check_header(void *arg, const char *name, const char *val)
static APR_INLINE int check_headers(request_rec *r)
{
const char *loc;
- struct check_header_ctx ctx = { r, 0 };
+ struct check_header_ctx ctx = { 0, 0 };
+ ctx.r = r;
apr_table_do(check_header, &ctx, r->headers_out, NULL);
if (ctx.error)
return 0; /* problem has been logged by check_header() */