This commit is contained in:
2025-11-03 15:52:25 +01:00
parent 21caecb91e
commit e135d871c1
7 changed files with 191 additions and 67 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ int tcp_register_events(TCP *tcp, void **contexts, struct pollfd *polled)
}
}
return 0;
return num_polled;
}
// The "events" array must be an array of capacity MAX_CONNS+1