diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-04-11 00:52:05 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-04-11 00:52:05 +0000 |
commit | 171a7752a8fab0e1c55be1469a331ef20a7b3755 (patch) | |
tree | 33a74b690d0567116d4ab8d681d6499a232ecb9c /src/song.c | |
parent | 8c4bc2d2d499951107572b10e5a99ab2913f3aea (diff) | |
download | mpd-171a7752a8fab0e1c55be1469a331ef20a7b3755.tar.gz mpd-171a7752a8fab0e1c55be1469a331ef20a7b3755.tar.xz mpd-171a7752a8fab0e1c55be1469a331ef20a7b3755.zip |
add --only-create-db option from msells
have SIGHUP cause rereading db file
git-svn-id: https://svn.musicpd.org/mpd/trunk@663 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/song.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/song.c b/src/song.c index 7cf327080..d9b28284c 100644 --- a/src/song.c +++ b/src/song.c @@ -191,9 +191,9 @@ void insertSongIntoList(SongList * list, ListNode ** nextSongNode, char * key, tempSong->tag = song->tag; tempSong->mtime = song->mtime; song->tag = NULL; - freeJustSong(song); addSongToTables(tempSong); } + freeJustSong(song); *nextSongNode = (*nextSongNode)->nextNode; } else { |