httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject [PATCH] remove blank line from httpd -t
Date Tue, 21 May 2002 13:34:05 GMT
The "Syntax OK" message from httpd -t includes two linefeeds at the
moment since log_error_core appends one too.

Index: server/main.c
===================================================================
RCS file: /home/cvspublic/httpd-2.0/server/main.c,v
retrieving revision 1.128
diff -u -r1.128 main.c
--- server/main.c	17 May 2002 11:11:37 -0000	1.128
+++ server/main.c	21 May 2002 13:29:17 -0000
@@ -562,7 +562,7 @@
     apr_sort_hooks();
     if (configtestonly) {
         ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
-                     "Syntax OK\n");
+                     "Syntax OK");
         destroy_and_exit_process(process, 0);
     }
 

Mime
View raw message