You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2004/03/29 04:21:30 UTC

cvs commit: httpd-2.0/server main.c

trawick     2004/03/28 18:21:30

  Modified:    server   main.c
  Log:
  Don't include newlines in strings passed to ap_log_error.
  
  Revision  Changes    Path
  1.156     +2 -2      httpd-2.0/server/main.c
  
  Index: main.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/main.c,v
  retrieving revision 1.155
  retrieving revision 1.156
  diff -u -r1.155 -r1.156
  --- main.c	9 Feb 2004 20:40:49 -0000	1.155
  +++ main.c	29 Mar 2004 02:21:29 -0000	1.156
  @@ -568,7 +568,7 @@
       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 @@
           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);
           }