aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/song_print.c')
-rw-r--r--src/song_print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/song_print.c b/src/song_print.c
index cfd6a7357..e646f23de 100644
--- a/src/song_print.c
+++ b/src/song_print.c
@@ -26,9 +26,9 @@
void
song_print_url(struct client *client, struct song *song)
{
- if (song->parentDir && song->parentDir->path) {
+ if (song->parent && song->parent->path) {
client_printf(client, "%s%s/%s\n", SONG_FILE,
- getDirectoryPath(song->parentDir), song->url);
+ getDirectoryPath(song->parent), song->url);
} else {
client_printf(client, "%s%s\n", SONG_FILE, song->url);
}