quark

quark web server
git clone git://git.suckless.org/quark
Log | Files | Refs | LICENSE

commit 53c3963497dbf82c3f4f085d5cd97b8b0941c29e
parent 55d7f000cdf9d4683caff71aea4f9d0cc0d13729
Author: Laslo Hunhold <dev@frign.de>
Date:   Fri, 23 Feb 2018 22:29:00 +0100

Actually exit the child process once finished serving

Thanks Rodrigo S. CaƱibano for noticing this!

Diffstat:
main.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/main.c b/main.c @@ -242,6 +242,7 @@ main(int argc, char *argv[]) continue; case 0: serve(infd, &in_sa); + exit(0); break; default: /* close the connection in the parent */