aboutsummaryrefslogtreecommitdiffstats
path: root/src/stored_playlist.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-22 17:24:40 +0200
committerMax Kellermann <max@duempel.org>2008-10-22 17:24:40 +0200
commit3a164ef8e61c27eb69d83e479cced6ea1b03b07d (patch)
tree7f89c8de04eff31eb1b5005b17fbae3cd3fc819a /src/stored_playlist.h
parentd2606baa7923c2ba6befd87a6c8acf20ce5376f1 (diff)
downloadmpd-3a164ef8e61c27eb69d83e479cced6ea1b03b07d.tar.gz
mpd-3a164ef8e61c27eb69d83e479cced6ea1b03b07d.tar.xz
mpd-3a164ef8e61c27eb69d83e479cced6ea1b03b07d.zip
stored_playlist: spl_append_uri() returns enum playlist_result
The return value of spl_append_uri() was somewhat buggy: some branches returned ACK_* values, and some an enum playlist_result. Unify this.
Diffstat (limited to 'src/stored_playlist.h')
-rw-r--r--src/stored_playlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stored_playlist.h b/src/stored_playlist.h
index 98b6505be..637a1093d 100644
--- a/src/stored_playlist.h
+++ b/src/stored_playlist.h
@@ -39,7 +39,7 @@ spl_remove_index(const char *utf8path, int pos);
enum playlist_result
spl_append_song(const char *utf8path, struct song *song);
-int
+enum playlist_result
spl_append_uri(const char *file, const char *utf8file);
enum playlist_result