summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2022-11-09 16:09:12 +0100
committerGravatar default2022-11-09 16:09:12 +0100
commitec2d6bc4a485e2b928ca626a56662de5f8603766 (patch)
tree475d5d729a1f741269d885eacfd9e13ecff51862
parentUpdated default CSS. (diff)
downloadsnac2-ec2d6bc4a485e2b928ca626a56662de5f8603766.tar.gz
snac2-ec2d6bc4a485e2b928ca626a56662de5f8603766.tar.xz
snac2-ec2d6bc4a485e2b928ca626a56662de5f8603766.zip
Call pthread_detach().
-rw-r--r--httpd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/httpd.c b/httpd.c
index 726cb37..85d4b71 100644
--- a/httpd.c
+++ b/httpd.c
@@ -319,6 +319,7 @@ void httpd(void)
319 pthread_t cth; 319 pthread_t cth;
320 320
321 pthread_create(&cth, NULL, connection_thread, f); 321 pthread_create(&cth, NULL, connection_thread, f);
322 pthread_detach(cth);
322 } 323 }
323 else 324 else
324 httpd_connection(f); 325 httpd_connection(f);