aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-23 00:10:50 +0100
committerMax Kellermann <max@duempel.org>2009-01-23 00:10:50 +0100
commite5c323fd57808826613ad889e1cbd1c34590b633 (patch)
tree88a27cc88b6d97396668ef715e8b17a9d6f4b337 /src/command.c
parent9da7ae02f06cfd90897b6e0c87619f546675b2e9 (diff)
downloadmpd-e5c323fd57808826613ad889e1cbd1c34590b633.tar.gz
mpd-e5c323fd57808826613ad889e1cbd1c34590b633.tar.xz
mpd-e5c323fd57808826613ad889e1cbd1c34590b633.zip
playlist: removed stopOnError flag from playPlaylist()
All callers pass false. Don't bother to collect that parameter.
Diffstat (limited to '')
-rw-r--r--src/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c
index 529f3ac1d..27d34c0a3 100644
--- a/src/command.c
+++ b/src/command.c
@@ -388,7 +388,7 @@ handle_play(struct client *client, int argc, char *argv[])
if (argc == 2 && !check_int(client, &song, argv[1], need_positive))
return COMMAND_RETURN_ERROR;
- result = playPlaylist(song, 0);
+ result = playPlaylist(song);
return print_playlist_result(client, result);
}
@@ -401,7 +401,7 @@ handle_playid(struct client *client, int argc, char *argv[])
if (argc == 2 && !check_int(client, &id, argv[1], need_positive))
return COMMAND_RETURN_ERROR;
- result = playPlaylistById(id, 0);
+ result = playPlaylistById(id);
return print_playlist_result(client, result);
}