From e3622822fb86d370b64c209a5893e73886038928 Mon Sep 17 00:00:00 2001 From: Tom MTT Date: Mon, 28 Nov 2022 14:26:35 +0100 Subject: [PATCH] fix(feuille.c): add TODO comment and fix style issue --- feuille.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/feuille.c b/feuille.c index f994f65..73ef758 100644 --- a/feuille.c +++ b/feuille.c @@ -386,7 +386,8 @@ int main(int argc, char *argv[]) verbose(1, "beginning to accept incoming connections."); /* wait for children to finish */ - while(wait(0) > 0); + // TODO: handle children exit codes properly + while (wait(0) > 0); close(server); return 0;