mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Call pthread_detach().
This commit is contained in:
parent
80780998bd
commit
ec2d6bc4a4
1 changed files with 1 additions and 0 deletions
1
httpd.c
1
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);
|
||||
|
|
Loading…
Reference in a new issue