aboutsummaryrefslogtreecommitdiffstats
path: root/src/ClientExpire.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ClientExpire.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ClientExpire.cxx b/src/ClientExpire.cxx
index 36d54cda3..1e271c052 100644
--- a/src/ClientExpire.cxx
+++ b/src/ClientExpire.cxx
@@ -41,10 +41,8 @@ client_set_expired(Client *client)
}
static void
-client_check_expired_callback(gpointer data, G_GNUC_UNUSED gpointer user_data)
+client_check_expired_callback(Client *client, G_GNUC_UNUSED gpointer user_data)
{
- Client *client = (Client *)data;
-
if (client_is_expired(client)) {
g_debug("[%u] expired", client->num);
client_close(client);