From 0473f3ea76c57be8b20e1fae628ec7ae7f04b5f7 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Fri, 12 Nov 2004 17:38:52 +0000 Subject: don't store only relative paths in the directory structure, its probably not worth the savings in memory for the extra cpu it requires git-svn-id: https://svn.musicpd.org/mpd/trunk@2630 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/song.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/song.c') diff --git a/src/song.c b/src/song.c index 7d28a3348..14e4ff9b7 100644 --- a/src/song.c +++ b/src/song.c @@ -315,7 +315,7 @@ char * getSongUrl(Song * song) { return NULL; } - if(!song->parentDir || !song->parentDir->name) return song->url; + if(!song->parentDir || !song->parentDir->path) return song->url; /* be careful with this!*/ if(song == lastSong) return buffer; -- cgit v1.2.3