You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2022/02/02 02:06:42 UTC
svn commit: r1897680 - /httpd/httpd/trunk/server/main.c
Author: ylavic
Date: Wed Feb 2 02:06:42 2022
New Revision: 1897680
URL: http://svn.apache.org/viewvc?rev=1897680&view=rev
Log:
main: Follow up to r1897240: Fix bad log copypasta.
Don't stderr printf the "stat" and "failed" results from the previous
apr_app_initialize() call for an error in ap_thread_main_create().
Modified:
httpd/httpd/trunk/server/main.c
Modified: httpd/httpd/trunk/server/main.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/main.c?rev=1897680&r1=1897679&r2=1897680&view=diff
==============================================================================
--- httpd/httpd/trunk/server/main.c (original)
+++ httpd/httpd/trunk/server/main.c Wed Feb 2 02:06:42 2022
@@ -397,9 +397,9 @@ static process_rec *init_process(int *ar
if ((rv = ap_thread_main_create(&thd, process->pool))) {
char ctimebuff[APR_CTIME_LEN];
apr_ctime(ctimebuff, apr_time_now());
- fprintf(stderr, "[%s] [crit] (%d) %s: %s failed "
- "to initialize thread context (%i), exiting\n",
- ctimebuff, stat, (*argv)[0], failed, rv);
+ fprintf(stderr, "[%s] [crit] (%d) %s: failed "
+ "to initialize thread context, exiting\n",
+ ctimebuff, rv, (*argv)[0]);
apr_terminate();
exit(1);
}