]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* server/main.c: Don't include newlines in strings passed to
authorJoe Orton <jorton@apache.org>
Fri, 30 Jan 2004 13:06:00 +0000 (13:06 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 30 Jan 2004 13:06:00 +0000 (13:06 +0000)
ap_log_error.

Submitted by: Martin Kraemer
Reviewed by: Joe Orton, Jeff Trawick, Andr�� Malo

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@102460 13f79535-47bb-0310-9956-ffa450edef68

server/main.c

index e41a130c5dabfe73e99beec7eb945a735f5fcf5f..512bdd19b8aabe8a231ec1f3b8f2d1ed60e876d3 100644 (file)
@@ -600,13 +600,13 @@ int main(int argc, const char * const argv[])
 
     if ( ap_run_open_logs(pconf, plog, ptemp, server_conf) != OK) {
         ap_log_error(APLOG_MARK, APLOG_STARTUP |APLOG_ERR,
-                     0, NULL, "Unable to open logs\n");
+                     0, NULL, "Unable to open logs");
         destroy_and_exit_process(process, 1);
     }
 
     if ( ap_run_post_config(pconf, plog, ptemp, server_conf) != OK) {
         ap_log_error(APLOG_MARK, APLOG_STARTUP |APLOG_ERR, 0,
-                     NULL, "Configuration Failed\n");
+                     NULL, "Configuration Failed");
         destroy_and_exit_process(process, 1);
     }
 
@@ -642,13 +642,13 @@ int main(int argc, const char * const argv[])
         apr_pool_clear(plog);
         if (ap_run_open_logs(pconf, plog, ptemp, server_conf) != OK) {
             ap_log_error(APLOG_MARK, APLOG_STARTUP |APLOG_ERR,
-                         0, NULL, "Unable to open logs\n");
+                         0, NULL, "Unable to open logs");
             destroy_and_exit_process(process, 1);
         }
 
         if (ap_run_post_config(pconf, plog, ptemp, server_conf) != OK) {
             ap_log_error(APLOG_MARK, APLOG_STARTUP |APLOG_ERR,
-                         0, NULL, "Configuration Failed\n");
+                         0, NULL, "Configuration Failed");
             destroy_and_exit_process(process, 1);
         }