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

Server/server.c

index a3501d38aa337c2c81e4582beda27e5b4b125741..61c1b6d3b3619aa4902bf86be3645e8bda7e4c21 100644 (file)
@@ -828,6 +828,7 @@ void tw_server_loop(void) {
                                                }
                                        }
 #elif defined(__HAIKU__)
+                                       int j;
                                        for(j = 0; j < sizeof(threads) / sizeof(threads[0]); j++) {
                                                if(threads[j].used) {
                                                        thread_info info;