Commit a9290398 authored by Max Kellermann's avatar Max Kellermann

client: use bool

Return bool instead of int.
parent 6757c176
......@@ -100,7 +100,7 @@ static void client_write_deferred(struct client *client);
static void client_write_output(struct client *client);
int client_is_expired(const struct client *client)
bool client_is_expired(const struct client *client)
{
return client->fd < 0;
}
......
......@@ -35,7 +35,7 @@ void client_manager_expire(void);
void client_new(int fd, const struct sockaddr *addr, int uid);
int client_is_expired(const struct client *client);
bool client_is_expired(const struct client *client);
/**
* returns the uid of the client process, or a negative value if the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment