aboutsummaryrefslogtreecommitdiffstats
path: root/src/Client.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Client.cxx15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/Client.cxx b/src/Client.cxx
index e7da3d1da..b60061a60 100644
--- a/src/Client.cxx
+++ b/src/Client.cxx
@@ -23,17 +23,20 @@
const Domain client_domain("client");
-int client_get_uid(const Client *client)
+int
+client_get_uid(const Client &client)
{
- return client->uid;
+ return client.uid;
}
-unsigned client_get_permission(const Client *client)
+unsigned
+client_get_permission(const Client &client)
{
- return client->permission;
+ return client.permission;
}
-void client_set_permission(Client *client, unsigned permission)
+void
+client_set_permission(Client &client, unsigned permission)
{
- client->permission = permission;
+ client.permission = permission;
}