} else if (p->pstate == 3 && (p->istate == 0 || (p->imax == 0 && p->ibp == 0))) 
} else if (childisfinished(p)) 
void cleanup_children(void){	struct pipe_params *p;	p = children;	while (p) {		if (p->cn) {			if (p->error_condition) {				if (p->error_condition == STUB_ERROR_RESTART)					close_child(p, cgi_error(p->cn->r) == -1 ? HC_CLOSING : HC_WRITING);				else					close_child(p, HC_CLOSING);			} else if (current_time >= p->t + (time_t) tuning.script_timeout) {				log_d("script timeout to %s[%hu]", inet_ntoa(p->cn->peer.sin_addr), ntohs(p->cn->peer.sin_port));				close_child(p, HC_CLOSING);			} else if (p->pstate == 3 && (p->istate == 0 || (p->imax == 0 && p->ibp == 0)))				close_child(p, p->cn->keepalive ? HC_REINIT : HC_CLOSING);		}		p = p->next;	}}
8520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8520/583a53cfde78487bd1fe7732a2ac91783da6d57b/stub.c/clean/src/stub.c