diff options
Diffstat (limited to 'src/ClientFile.cxx')
-rw-r--r-- | src/ClientFile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |