You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2009/05/16 15:21:24 UTC

svn commit: r775460 - /httpd/httpd/trunk/modules/aaa/mod_authz_core.c

Author: trawick
Date: Sat May 16 13:21:23 2009
New Revision: 775460

URL: http://svn.apache.org/viewvc?rev=775460&view=rev
Log:
"fix" this warning by passing "%s" as the format string:

mod_authz_core.c: In function ‘authz_core_check_section’:
mod_authz_core.c:579: warning: format not a string literal and no format arguments

Modified:
    httpd/httpd/trunk/modules/aaa/mod_authz_core.c

Modified: httpd/httpd/trunk/modules/aaa/mod_authz_core.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/aaa/mod_authz_core.c?rev=775460&r1=775459&r2=775460&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_authz_core.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_authz_core.c Sat May 16 13:21:23 2009
@@ -572,6 +572,7 @@
 
     if (ret != OK) {
         ap_log_error(APLOG_MARK, APLOG_ERR | APLOG_STARTUP, APR_SUCCESS, s,
+                     "%s",
                      apr_pstrcat(p, (is_conf
                                      ? "<Directory>, <Location>, or similar"
                                      : format_authz_command(p, section)),