httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1857515 - /httpd/httpd/trunk/modules/generators/mod_info.c
Date Sun, 14 Apr 2019 13:21:08 GMT
Author: rjung
Date: Sun Apr 14 13:21:08 2019
New Revision: 1857515

URL: http://svn.apache.org/viewvc?rev=1857515&view=rev
Log:
Fix wrong use of ap_rputs with formats.
Use ap_rprintf instead.
It seems noone has PIPE_BUF defined.

Modified:
    httpd/httpd/trunk/modules/generators/mod_info.c

Modified: httpd/httpd/trunk/modules/generators/mod_info.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_info.c?rev=1857515&r1=1857514&r2=1857515&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/generators/mod_info.c (original)
+++ httpd/httpd/trunk/modules/generators/mod_info.c Sun Apr 14 13:21:08 2019
@@ -583,7 +583,7 @@ static int show_server_settings(request_
 #ifdef BUFFERED_LOGS
     ap_rputs(" -D BUFFERED_LOGS\n", r);
 #ifdef PIPE_BUF
-    ap_rputs(" -D PIPE_BUF=%ld\n", (long) PIPE_BUF, r);
+    ap_rprintf(r, " -D PIPE_BUF=%ld\n", (long) PIPE_BUF);
 #endif
 #endif
 



Mime
View raw message