aboutsummaryrefslogtreecommitdiffstats
path: root/src/ClientExpire.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-03 17:27:26 +0100
committerMax Kellermann <max@duempel.org>2013-01-03 17:36:28 +0100
commit7a982169c9dc3a673e922e7f3b9b73368cef0aae (patch)
tree7b9b28287d7ae934c0e75bd7f3b5f317ad7d2cac /src/ClientExpire.cxx
parentf2510d60fad1c5811fba3d253ef1c8dabb712304 (diff)
downloadmpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.tar.gz
mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.tar.xz
mpd-7a982169c9dc3a673e922e7f3b9b73368cef0aae.zip
Client: rename the struct client to class Client
Diffstat (limited to '')
-rw-r--r--src/ClientExpire.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClientExpire.cxx b/src/ClientExpire.cxx
index b02e2c8bb..e24770ea1 100644
--- a/src/ClientExpire.cxx
+++ b/src/ClientExpire.cxx
@@ -23,7 +23,7 @@
static guint expire_source_id;
void
-client_set_expired(struct client *client)
+client_set_expired(Client *client)
{
if (!client_is_expired(client))
client_schedule_expire();
@@ -42,7 +42,7 @@ client_set_expired(struct client *client)
static void
client_check_expired_callback(gpointer data, G_GNUC_UNUSED gpointer user_data)
{
- struct client *client = (struct client *)data;
+ Client *client = (Client *)data;
if (client_is_expired(client)) {
g_debug("[%u] expired", client->num);