snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit ec2d6bc4a485e2b928ca626a56662de5f8603766
parent 80780998bdf80fbae9541bdf61b874dcec9dea19
Author: default <nobody@localhost>
Date:   Wed,  9 Nov 2022 16:09:12 +0100

Call pthread_detach().

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

diff --git a/httpd.c b/httpd.c @@ -319,6 +319,7 @@ void httpd(void) pthread_t cth; pthread_create(&cth, NULL, connection_thread, f); + pthread_detach(cth); } else httpd_connection(f);