aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/client.c2
-rw-r--r--src/client.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client.c b/src/client.c
index 2a69dd7fb..ee984641e 100644
--- a/src/client.c
+++ b/src/client.c
@@ -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;
}
diff --git a/src/client.h b/src/client.h
index bcbc7126c..e6661e249 100644
--- a/src/client.h
+++ b/src/client.h
@@ -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