aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-09 20:58:31 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-09 20:58:31 +0000
commit13a38d3580c398a923870fbe14dc361fe438c417 (patch)
tree02a82dd6605dfb41b75350927de1be9fea7bec95 /src/song.c
parent6599e05a25bd2e653c2daf8abbe0e141b75bf4ac (diff)
downloadmpd-13a38d3580c398a923870fbe14dc361fe438c417.tar.gz
mpd-13a38d3580c398a923870fbe14dc361fe438c417.tar.xz
mpd-13a38d3580c398a923870fbe14dc361fe438c417.zip
lets exit on unknown line in songinfo db
git-svn-id: https://svn.musicpd.org/mpd/trunk@230 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/song.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/song.c b/src/song.c
index ed0757957..01335d8f8 100644
--- a/src/song.c
+++ b/src/song.c
@@ -180,6 +180,7 @@ void readSongInfoIntoList(FILE * fp, SongList * list) {
}
else {
ERROR("songinfo: unknown line in db: %s\n",buffer);
+ exit(-1);
}
}