httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1143304 - /httpd/httpd/trunk/modules/loggers/mod_log_debug.c
Date Wed, 06 Jul 2011 09:19:50 GMT
Author: fuankg
Date: Wed Jul  6 09:19:50 2011
New Revision: 1143304

URL: http://svn.apache.org/viewvc?rev=1143304&view=rev
Log:
Stupid CodeWarrior compiler cant initialize structs with vars.

Modified:
    httpd/httpd/trunk/modules/loggers/mod_log_debug.c

Modified: httpd/httpd/trunk/modules/loggers/mod_log_debug.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/loggers/mod_log_debug.c?rev=1143304&r1=1143303&r2=1143304&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/loggers/mod_log_debug.c (original)
+++ httpd/httpd/trunk/modules/loggers/mod_log_debug.c Wed Jul  6 09:19:50 2011
@@ -188,7 +188,9 @@ static const char *cmd_log_message(cmd_p
     log_debug_dirconf *dconf = dconf_;
     int i, j;
     const char *err;
-    const char *args[2] = { arg2, arg3 };
+    const char *args[2];
+    args[0] = arg2;
+    args[1] = arg3;
 
     entry->msg_expr = ap_expr_parse_cmd(cmd, arg1, AP_EXPR_FLAG_STRING_RESULT|
                                                    AP_EXPR_FLAG_DONT_VARY,



Mime
View raw message