static bool disconnect_handler(Client *client, bool good)
{
+ (void) client;
+
if (good)
- client_disconnect(client, false, NULL);
+ client_disconnect(false, NULL);
return true;
}
static bool block_handler(Client *client, bool good)
{
- if (good)
- return map_deserialize_block(client->fd, client->map);
- return true;
+ return map_deserialize_block(client->fd, client->map, ! good);
}
CommandHandler command_handlers[CLIENT_COMMAND_COUNT] = {