Fixed connection removal again

This commit is contained in:
2022-07-10 05:01:08 -05:00
parent 9d17ad73fe
commit 94220166ad
2 changed files with 3 additions and 2 deletions

View File

@@ -106,7 +106,8 @@ remove:
memcpy(fds + remove, fds + replace,
sizeof(struct pollfd));
memcpy(connections + remove, fds + replace,
memcpy(connections + remove,
connections + replace,
sizeof(struct pollfd));
--pending[id];