diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-11-11 02:59:16 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-11-11 02:59:16 +0000 |
commit | d6a87f538d2347cd4610962a0004052c0c6ba8de (patch) | |
tree | 3bc0d5b0f93eb14d520f37607eec51fe456aafd0 /src/directory.c | |
parent | 4ec3df033954d01663087011efecfca37749f965 (diff) | |
download | mpd-d6a87f538d2347cd4610962a0004052c0c6ba8de.tar.gz mpd-d6a87f538d2347cd4610962a0004052c0c6ba8de.tar.xz mpd-d6a87f538d2347cd4610962a0004052c0c6ba8de.zip |
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
Diffstat (limited to 'src/directory.c')
-rw-r--r-- | src/directory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/directory.c b/src/directory.c index 18c0b7c92..b41bd914b 100644 --- a/src/directory.c +++ b/src/directory.c @@ -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; |