httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1428145 - /httpd/httpd/trunk/modules/http/http_filters.c
Date Thu, 03 Jan 2013 02:25:24 GMT
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() */



Mime
View raw message