diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-30 08:57:24 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-30 08:57:24 +0200 |
commit | 4b6f946c0871d1f510135cd43d61034d55fae5fd (patch) | |
tree | 82f32f731ea974b9784c8ceae10891faf06a0587 | |
parent | 769457c165488fb8059ecb843a1c200f69dce95d (diff) |
Clarify active players function name
-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); |