diff options
Diffstat (limited to 'src/directory.c')
-rw-r--r-- | src/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directory.c b/src/directory.c index 0ce533966..8eb18d463 100644 --- a/src/directory.c +++ b/src/directory.c @@ -617,7 +617,7 @@ addToDirectory(Directory * directory, const char *name) Song *song; const char *shortname = mpd_basename(name); - if (!(song = newSong(shortname, SONG_TYPE_FILE, directory))) + if (!(song = newSong(shortname, directory))) return -1; songvec_add(&directory->songs, song); LOG("added %s\n", name); |