diff options
author | Max Kellermann <max@duempel.org> | 2012-03-06 21:35:30 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-03-06 21:37:10 +0100 |
commit | faf35e6082a8c685140820f334b5c4ecc9ce6666 (patch) | |
tree | cb311678440256bb9c50eb6dcd0adbe70643c979 | |
parent | d07a6edd2f95f6ce11a381ef71e348f9536c1e80 (diff) | |
download | mpd-faf35e6082a8c685140820f334b5c4ecc9ce6666.tar.gz mpd-faf35e6082a8c685140820f334b5c4ecc9ce6666.tar.xz mpd-faf35e6082a8c685140820f334b5c4ecc9ce6666.zip |
command: fix the "DENIED" ACK code
Use ACK_ERROR_PERMISSION instead of ACK_ERROR_NO_EXIST.
-rw-r--r-- | src/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c index 2d6966509..ad64d9b8d 100644 --- a/src/command.c +++ b/src/command.c @@ -121,7 +121,7 @@ print_playlist_result(struct client *client, return COMMAND_RETURN_ERROR; case PLAYLIST_RESULT_DENIED: - command_error(client, ACK_ERROR_NO_EXIST, "Access denied"); + command_error(client, ACK_ERROR_PERMISSION, "Access denied"); return COMMAND_RETURN_ERROR; case PLAYLIST_RESULT_NO_SUCH_SONG: |