diff options
author | Stef Walter <stef@memberwebs.com> | 2006-07-13 18:53:25 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2006-07-13 18:53:25 +0000 |
commit | 05a10ed5b33b3edaa3036e1a58cf1f7133c389ce (patch) | |
tree | 8e5e65c68e3609910f1a71a0906a2d73229775a4 /src | |
parent | 5a5d0ee5b164010222b50d9fb0a370f3b095a786 (diff) |
Another fix for waiting on processes.
Diffstat (limited to 'src')
-rw-r--r-- | src/proxsmtpd.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |