aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_print.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playlist_print.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/playlist_print.c b/src/playlist_print.c
index df2c7d08c..60696b772 100644
--- a/src/playlist_print.c
+++ b/src/playlist_print.c
@@ -24,11 +24,12 @@
#include "client.h"
int
-PlaylistInfo(struct client *client, const char *utf8file, int detail)
+spl_print(struct client *client, const char *name_utf8, int detail)
{
GPtrArray *list;
- if (!(list = spl_load(utf8file)))
+ list = spl_load(name_utf8);
+ if (list == NULL)
return -1;
for (unsigned i = 0; i < list->len; ++i) {