diff options
Diffstat (limited to 'minecctl/mc-commands.c')
-rw-r--r-- | minecctl/mc-commands.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/minecctl/mc-commands.c b/minecctl/mc-commands.c index c65f166..fb87430 100644 --- a/minecctl/mc-commands.c +++ b/minecctl/mc-commands.c @@ -8,8 +8,8 @@ #include "misc.h" #include "shared/mc-protocol.h" -bool do_mc_pcount(struct cfg *cfg, struct server *server, unsigned *online, - unsigned *max, const char **error) +bool do_mc_pcount(_unused_ struct cfg *cfg, struct server *server, + unsigned *online, unsigned *max, const char **error) { struct saddr *saddr; char buf[4096]; @@ -18,7 +18,7 @@ bool do_mc_pcount(struct cfg *cfg, struct server *server, unsigned *online, bool rv = false; int fd; - fd = connect_any(&server->scfg.remotes, &saddr, &error); + fd = connect_any(&server->scfg.remotes, &saddr, error); if (fd < 0) return false; |