ok, now song->url is only the filename, not the full path to the song
git-svn-id: https://svn.musicpd.org/mpd/trunk@2602 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
+2
-2
@@ -269,7 +269,7 @@ void freeDirectory(Directory * directory) {
|
||||
}
|
||||
|
||||
DirectoryList * newDirectoryList() {
|
||||
return makeList((ListFreeDataFunc *)freeDirectory);
|
||||
return makeList((ListFreeDataFunc *)freeDirectory, 1);
|
||||
}
|
||||
|
||||
void freeDirectoryList(DirectoryList * directoryList) {
|
||||
@@ -352,7 +352,7 @@ int removeDeletedFromDirectory(Directory * directory, DIR * dir) {
|
||||
char cwd[2];
|
||||
struct dirent * ent;
|
||||
char * dirname = directory->utf8name;
|
||||
List * entList = makeList(free);
|
||||
List * entList = makeList(free, 1);
|
||||
void * name;
|
||||
char * s;
|
||||
char * utf8;
|
||||
|
||||
Reference in New Issue
Block a user