aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/ClientFile.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-18 21:47:20 +0100
committerMax Kellermann <max@duempel.org>2014-11-18 21:47:20 +0100
commit26382713c26139e474bda5e74798e1201e036b82 (patch)
treeda03a95d2cf840843e1e02052d2d87d8e513ee0f /src/client/ClientFile.cxx
parentf37481f843c3ae7aa0c43591c9c7fc4a501c1f5b (diff)
parentd6bc5c35a730a9542af79118369022115009eddd (diff)
downloadmpd-26382713c26139e474bda5e74798e1201e036b82.tar.gz
mpd-26382713c26139e474bda5e74798e1201e036b82.tar.xz
mpd-26382713c26139e474bda5e74798e1201e036b82.zip
Merge tag 'v0.19.4'
Diffstat (limited to 'src/client/ClientFile.cxx')
-rw-r--r--src/client/ClientFile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ClientFile.cxx b/src/client/ClientFile.cxx
index eba64d09c..3ea8034d2 100644
--- a/src/client/ClientFile.cxx
+++ b/src/client/ClientFile.cxx
@@ -41,7 +41,7 @@ Client::AllowFile(Path path_fs, Error &error) const
instance */
return true;
- if (uid <= 0) {
+ if (uid < 0) {
/* unauthenticated client */
error.Set(ack_domain, ACK_ERROR_PERMISSION, "Access denied");
return false;