]> Nishi Git Mirror - tewi.git/commitdiff
fix select
authorNishi <nishi@nishi.boats>
Thu, 19 Sep 2024 14:34:28 +0000 (14:34 +0000)
committerNishi <nishi@nishi.boats>
Thu, 19 Sep 2024 14:34:28 +0000 (14:34 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@99 8739d7e6-ffea-ec47-b151-bdff447c6205

Server/server.c

index e46379d02587b41e408ffc7ff299f070ac493cb5..8bbbd763a9880aec5a31f439204d82fa1f49d2b7 100644 (file)
@@ -835,6 +835,7 @@ void tw_server_loop(void) {
                                        }
 #elif defined(__HAIKU__)
                                        thread_id thr = spawn_thread(tw_server_pass, "Tewi HTTPd", 60, e);
+                                       resume_thread(thr);
 #else
                                        pid_t pid = fork();
                                        if(pid == 0) {