From 7c3d6591945baecc28083b4c8a557afe27c2273c Mon Sep 17 00:00:00 2001 From: SJ Date: Thu, 22 Dec 2016 10:46:11 +0100 Subject: [PATCH] terminate fix for piler-smtp Change-Id: I07592f4bc68549a0bdae155b8bff4035bdb213dd Signed-off-by: SJ --- src/piler-smtp.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/piler-smtp.c b/src/piler-smtp.c index 9ed2d98c..bbaeb467 100644 --- a/src/piler-smtp.c +++ b/src/piler-smtp.c @@ -46,11 +46,14 @@ void p_clean_exit(){ if(listenerfd != -1) close(listenerfd); - for(i=0; i