From: Joe Orton Date: Fri, 30 Jan 2004 13:06:00 +0000 (+0000) Subject: * server/main.c: Don't include newlines in strings passed to X-Git-Tag: 2.0.49~174 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=96488b4f2b1bfcbb088e6fb086a857e51462cf3c;p=thirdparty%2Fapache%2Fhttpd.git * server/main.c: Don't include newlines in strings passed to 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 --- diff --git a/server/main.c b/server/main.c index e41a130c5da..512bdd19b8a 100644 --- a/server/main.c +++ b/server/main.c @@ -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); }