Actually exit the child process once finished serving

Thanks Rodrigo S. Cañibano for noticing this!
This commit is contained in:
Laslo Hunhold 2018-02-23 22:29:00 +01:00
parent 55d7f000cd
commit 53c3963497

1
main.c
View file

@ -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 */