summaryrefslogtreecommitdiff
path: root/src/proxsmtpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/proxsmtpd.c')
-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)
{