From 13a38d3580c398a923870fbe14dc361fe438c417 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Tue, 9 Mar 2004 20:58:31 +0000 Subject: [PATCH] lets exit on unknown line in songinfo db git-svn-id: https://svn.musicpd.org/mpd/trunk@230 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/song.c | 1 + 1 file changed, 1 insertion(+) 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); } }