From 05a10ed5b33b3edaa3036e1a58cf1f7133c389ce Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 13 Jul 2006 18:53:25 +0000 Subject: Another fix for waiting on processes. --- src/proxsmtpd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/proxsmtpd.c b/src/proxsmtpd.c index 9bd25ac..a7a5070 100644 --- a/src/proxsmtpd.c +++ b/src/proxsmtpd.c @@ -865,6 +865,7 @@ static int wait_process(spctx_t* sp, pid_t pid, int* status) { /* We poll x times a second */ int waits = g_pxstate.timeout.tv_sec * (1000 / POLL_TIME); + *status = 0; while(waits > 0) { -- cgit v1.2.3