From c2d5ce0ca213e2d25df17e080b07a3d91d330972 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 19:39:40 +0200 Subject: Client: move trivial functions into the Client class --- src/ClientFile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ClientFile.cxx') diff --git a/src/ClientFile.cxx b/src/ClientFile.cxx index 6d9fa474e..382b76083 100644 --- a/src/ClientFile.cxx +++ b/src/ClientFile.cxx @@ -41,7 +41,7 @@ client_allow_file(const Client &client, Path path_fs, Error &error) error.Set(ack_domain, ACK_ERROR_PERMISSION, "Access denied"); return false; #else - const int uid = client_get_uid(client); + const int uid = client.GetUID(); if (uid >= 0 && (uid_t)uid == geteuid()) /* always allow access if user runs his own MPD instance */ -- cgit v1.2.3