Fix for bug 483
git-svn-id: https://svn.musicpd.org/mpd/trunk@4138 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
151d9706e9
commit
1071524ae7
@ -260,7 +260,8 @@ void readSongInfoIntoList(FILE * fp, SongList * list, Directory * parentDir) {
|
||||
else if(0==strncmp(SONG_MTIME,buffer,strlen(SONG_MTIME))) {
|
||||
song->mtime = atoi(&(buffer[strlen(SONG_MTIME)]));
|
||||
}
|
||||
else {
|
||||
/* ignore empty lines (starting with '\0') */
|
||||
else if(*buffer){
|
||||
ERROR("songinfo: unknown line in db: %s\n",buffer);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user