You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fu...@apache.org on 2013/01/03 03:25:24 UTC
svn commit: r1428145 - /httpd/httpd/trunk/modules/http/http_filters.c
Author: fuankg
Date: Thu Jan 3 02:25:23 2013
New Revision: 1428145
URL: http://svn.apache.org/viewvc?rev=1428145&view=rev
Log:
Stupid CodeWarrior compiler cant take vars with struct inits.
Modified:
httpd/httpd/trunk/modules/http/http_filters.c
Modified: httpd/httpd/trunk/modules/http/http_filters.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http/http_filters.c?rev=1428145&r1=1428144&r2=1428145&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/http_filters.c (original)
+++ httpd/httpd/trunk/modules/http/http_filters.c Thu Jan 3 02:25:23 2013
@@ -680,8 +680,9 @@ static int check_header(void *arg, const
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() */