diff options
author | Max Kellermann <max@duempel.org> | 2014-11-18 21:38:44 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-11-18 21:38:44 +0100 |
commit | dc03f003ac8e1d569b2d8b679e4f84b7602d560e (patch) | |
tree | d7af25f884fb1810c7edaf6fb372aa80cacfa5b2 /src/client/ClientFile.cxx | |
parent | 460cfba6ff76ed58e6f6778cfeb9dd424d7fe75a (diff) | |
parent | 7aa2104596f283c6af22b7b721267065cda86237 (diff) | |
download | mpd-dc03f003ac8e1d569b2d8b679e4f84b7602d560e.tar.gz mpd-dc03f003ac8e1d569b2d8b679e4f84b7602d560e.tar.xz mpd-dc03f003ac8e1d569b2d8b679e4f84b7602d560e.zip |
Merge tag 'v0.18.18' into v0.19.x
Diffstat (limited to 'src/client/ClientFile.cxx')
-rw-r--r-- | src/client/ClientFile.cxx | 2 |
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; |