- Removed void* arithmetic
- Fixed connection_send does not return anything
- Fixed server_events invalid args in main.c (and changed its
  declaration)
This commit is contained in:
Nikita Tyukalov, ASUS, Linux
2026-03-25 01:13:23 +03:00
parent 8e90c4c152
commit 93c83dc40f
5 changed files with 10 additions and 4 deletions

View File

@@ -91,7 +91,7 @@ void server_close() {
close(_fd);
}
bool server_event(uint32_t events) {
bool server_event(int fd, uint32_t events) {
if (events & EPOLLIN) {
return _accept();
}