diff options
Diffstat (limited to 'minecproxy')
-rw-r--r-- | minecproxy/idle.c | 2 | ||||
-rw-r--r-- | minecproxy/server.c | 2 | ||||
-rw-r--r-- | minecproxy/server.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/minecproxy/idle.c b/minecproxy/idle.c index ec9e2da..3269a89 100644 --- a/minecproxy/idle.c +++ b/minecproxy/idle.c @@ -52,7 +52,7 @@ static void idle_check_handshake_reply(struct uring_task *task, int res) out: uring_task_close_fd(task); - server_set_active_players(server, player_count); + server_update_active_players(server, player_count); return; } diff --git a/minecproxy/server.c b/minecproxy/server.c index a2f8332..e7efe5d 100644 --- a/minecproxy/server.c +++ b/minecproxy/server.c @@ -304,7 +304,7 @@ static void server_idle_free(struct uring_task *task) debug(DBG_ANN, "called"); } -void server_set_active_players(struct server *server, int count) +void server_update_active_players(struct server *server, int count) { assert_return(server); assert_task_alive(DBG_IDLE, &server->idle_task); diff --git a/minecproxy/server.h b/minecproxy/server.h index 7201ba6..c6ea252 100644 --- a/minecproxy/server.h +++ b/minecproxy/server.h @@ -55,7 +55,7 @@ bool server_start(struct server *server); bool server_stop(struct server *server); -void server_set_active_players(struct server *server, int count); +void server_update_active_players(struct server *server, int count); void server_async_dns_update(struct server_config *scfg, bool done); |