summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-07-13 18:53:25 +0000
committerStef Walter <stef@memberwebs.com>2006-07-13 18:53:25 +0000
commit05a10ed5b33b3edaa3036e1a58cf1f7133c389ce (patch)
tree8e5e65c68e3609910f1a71a0906a2d73229775a4 /src
parent5a5d0ee5b164010222b50d9fb0a370f3b095a786 (diff)
Another fix for waiting on processes.
Diffstat (limited to 'src')
-rw-r--r--src/proxsmtpd.c1
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)
{