From: Bill Stoddard Date: Wed, 12 Jul 2000 22:00:58 +0000 (+0000) Subject: Save the write end of the pipe. pipe_log_spawn really needs to be combined with X-Git-Tag: APACHE_2_0_ALPHA_5~124 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51810589f5a3cc5bf12b485bcee18b376a53d09e;p=apache Save the write end of the pipe. pipe_log_spawn really needs to be combined with log_child. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85828 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/log.c b/server/log.c index 9dad456fb3..2b74a494ef 100644 --- a/server/log.c +++ b/server/log.c @@ -618,6 +618,7 @@ static int piped_log_spawn(piped_log *pl) /* successful that the child is running. */ RAISE_SIGSTOP(PIPED_LOG_SPAWN); pl->pid = procnew; + ap_piped_log_write_fd(pl) = procnew->in; ap_register_other_child(procnew, piped_log_maintenance, pl, ap_piped_log_write_fd(pl), pl->p); }