You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2005/10/03 12:34:49 UTC
svn commit: r293292 -
/httpd/httpd/branches/2.2.x/server/mpm/prefork/prefork.c
Author: colm
Date: Mon Oct 3 03:34:43 2005
New Revision: 293292
URL: http://svn.apache.org/viewcvs?rev=293292&view=rev
Log:
Whitespace and comment changes; inconsequential - but synchronises
with trunk.
Modified:
httpd/httpd/branches/2.2.x/server/mpm/prefork/prefork.c
Modified: httpd/httpd/branches/2.2.x/server/mpm/prefork/prefork.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/server/mpm/prefork/prefork.c?rev=293292&r1=293291&r2=293292&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/server/mpm/prefork/prefork.c (original)
+++ httpd/httpd/branches/2.2.x/server/mpm/prefork/prefork.c Mon Oct 3 03:34:43 2005
@@ -156,7 +156,7 @@
if(dir) {
apr_status_t res;
- char * buf = NULL;
+ char *buf = NULL ;
int len = strlen(sconf->gprof_dir) - 1;
if(*(dir + len) == '%') {
dir[len] = '\0';
@@ -730,7 +730,7 @@
apr_signal(SIGHUP, just_die);
apr_signal(SIGTERM, just_die);
/* The child process just closes listeners on AP_SIG_GRACEFUL.
- * The pod is used for signalling graceful restart.
+ * The pod is used for signalling the graceful restart.
*/
apr_signal(AP_SIG_GRACEFUL, stop_listening);
child_main(slot);
@@ -1105,6 +1105,7 @@
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, ap_server_conf,
"caught SIGTERM, shutting down");
+
return 1;
} else if (shutdown_pending) {
/* Time to perform a graceful shut down: