diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2007-05-26 18:15:54 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2007-05-26 18:15:54 +0000 |
commit | bba444524eca700970f69261bc470fb01a138222 (patch) | |
tree | 7d5e302586ed757a6eb3f71a27f84bba60383fd4 /src/playlist.c | |
parent | dba45a59928301da0faa4ec679eb1a3a81d5fba5 (diff) | |
download | mpd-bba444524eca700970f69261bc470fb01a138222.tar.gz mpd-bba444524eca700970f69261bc470fb01a138222.tar.xz mpd-bba444524eca700970f69261bc470fb01a138222.zip |
Changing all calls to ERROR() followed by exit(EXIT_FAILURE) with a single
call to FATAL().
git-svn-id: https://svn.musicpd.org/mpd/trunk@6276 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/playlist.c')
-rw-r--r-- | src/playlist.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/playlist.c b/src/playlist.c index 390cae8b9..d8f2c6b65 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -135,9 +135,8 @@ void initPlaylist(void) if (param) { playlist_max_length = strtol(param->value, &test, 10); if (*test != '\0') { - ERROR("max playlist length \"%s\" is not an integer, " + FATAL("max playlist length \"%s\" is not an integer, " "line %i\n", param->value, param->line); - exit(EXIT_FAILURE); } } |