]> granicus.if.org Git - apache/commitdiff
Don't include newlines in strings passed to ap_log_error.
authorJeff Trawick <trawick@apache.org>
Mon, 29 Mar 2004 02:21:29 +0000 (02:21 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 29 Mar 2004 02:21:29 +0000 (02:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103182 13f79535-47bb-0310-9956-ffa450edef68

server/main.c

index b5022fd63e0fd1124e6091ad590737bd0c44d92f..dce6d23284d37f8ace29f0ddaba7dbaf2363da75 100644 (file)
@@ -568,7 +568,7 @@ int main(int argc, const char * const argv[])
     server_conf = ap_read_config(process, ptemp, confname, &ap_conftree);
     if (ap_run_pre_config(pconf, plog, ptemp) != OK) {
         ap_log_error(APLOG_MARK, APLOG_STARTUP |APLOG_ERR, 0,
-                     NULL, "Pre-configuration failed\n");
+                     NULL, "Pre-configuration failed");
         destroy_and_exit_process(process, 1);
     }
 
@@ -633,7 +633,7 @@ int main(int argc, const char * const argv[])
         server_conf = ap_read_config(process, ptemp, confname, &ap_conftree);
         if (ap_run_pre_config(pconf, plog, ptemp) != OK) {
             ap_log_error(APLOG_MARK, APLOG_STARTUP |APLOG_ERR,
-                         0, NULL, "Pre-configuration failed\n");
+                         0, NULL, "Pre-configuration failed");
             destroy_and_exit_process(process, 1);
         }