httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r918653 - /httpd/httpd/trunk/modules/filters/mod_sed.c
Date Wed, 03 Mar 2010 19:28:29 GMT
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;
 }
 



Mime
View raw message