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 2010/03/03 20:28:29 UTC

svn commit: r918653 - /httpd/httpd/trunk/modules/filters/mod_sed.c

Author: trawick
Date: Wed Mar  3 19:28:28 2010
New Revision: 918653

URL: http://svn.apache.org/viewvc?rev=918653&view=rev
Log:
fix this error:

mod_sed.c: In function ‘log_sed_errf’:
mod_sed.c:67: warning: format not a string literal and no format arguments

Modified:
    httpd/httpd/trunk/modules/filters/mod_sed.c

Modified: httpd/httpd/trunk/modules/filters/mod_sed.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_sed.c?rev=918653&r1=918652&r2=918653&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_sed.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_sed.c Wed Mar  3 19:28:28 2010
@@ -64,7 +64,7 @@
 static apr_status_t log_sed_errf(void *data, const char *error)
 {
     request_rec *r = (request_rec *) data;
-    ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, error);
+    ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "%s", error);
     return APR_SUCCESS;
 }