parent
6757c17689
commit
a92903983d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue