Parent Directory | Revision Log | Patch
--- jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c 2005/05/10 06:32:58 169423 +++ jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c 2005/05/10 06:45:57 169424 @@ -374,6 +374,10 @@ static int wait_child(arg_data *args, in int i, status, waittime; log_debug("wait_child %d", pid); waittime = args->wait/10; + if (waittime>10) { + count = waittime; + waittime = 10; + } while (count>0) { sleep(1); /* check if the controler is still running */
infrastructure at apache.org | ViewVC Help |
Powered by ViewVC 1.1.26 |