mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-06-11 02:21:11 +00:00
|
Some checks are pending
This pr fixes an issue on linux where the function ns_socket_get_id_str always returns empty string. See glibc implementation of vsnprintf : [vsnprintf implementation](https://elixir.bootlin.com/glibc/glibc-2.36/source/libio/vsnprintf.c#L112). First string parameter is "emptied" before starting the copy. And I suspect the original snprintf to rewrite twice the same value in id_str (except if I missed something) so we can just remove it. This issue gives moderator access to all players when they connect/reconnect after adding one player as moderator because all players have the same id : "". How to reproduce : Host server (via socket, not coopnet) on sm64coopdx linux version Add moderator to one player All new connected or reconnected player are promoted to moderator |
||
|---|---|---|
| .. | ||
| audio | ||
| buffers | ||
| engine | ||
| game | ||
| goddard | ||
| menu | ||
| pc | ||