aboutsummaryrefslogtreecommitdiffstats
path: root/src/client.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-31 13:58:00 +0100
committerMax Kellermann <max@duempel.org>2008-10-31 13:58:00 +0100
commita92903983d0f955ddf7ec6446b196d988a6536b9 (patch)
tree397f9fd59c6cd1f779fda17eb8cf4589638e416a /src/client.c
parent6757c17689a3990f1daddd035d8dcc39b90e18b8 (diff)
downloadmpd-a92903983d0f955ddf7ec6446b196d988a6536b9.tar.gz
mpd-a92903983d0f955ddf7ec6446b196d988a6536b9.tar.xz
mpd-a92903983d0f955ddf7ec6446b196d988a6536b9.zip
client: use bool
Return bool instead of int.
Diffstat (limited to 'src/client.c')
-rw-r--r--src/client.c2
1 files changed, 1 insertions, 1 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;
}