diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-03-09 20:59:10 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-03-09 20:59:10 +0000 |
commit | 197c046b029e3c4a7055f67a4921e07cace4aa3b (patch) | |
tree | 2d15a38086181c971ba05e0a0fb6e515179f6186 /src | |
parent | 13a38d3580c398a923870fbe14dc361fe438c417 (diff) | |
download | mpd-197c046b029e3c4a7055f67a4921e07cace4aa3b.tar.gz mpd-197c046b029e3c4a7055f67a4921e07cace4aa3b.tar.xz mpd-197c046b029e3c4a7055f67a4921e07cace4aa3b.zip |
exit on any unknown line in the db
git-svn-id: https://svn.musicpd.org/mpd/trunk@231 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r-- | src/directory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/directory.c b/src/directory.c index b9006e72b..2b5009eca 100644 --- a/src/directory.c +++ b/src/directory.c @@ -557,6 +557,7 @@ int readDirectoryDB() { else { ERROR("directory: unknown line in db info: %s\n", buffer); + exit(-1); } } } |