From 785cdb0114f8cf534ef93e413e49fbfb62521a67 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Fri, 2 Apr 2004 23:34:16 +0000 Subject: use EXIT_SUCCESS and EXIT_FAILURE git-svn-id: https://svn.musicpd.org/mpd/trunk@591 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/song.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/song.c') diff --git a/src/song.c b/src/song.c index c7186d1e0..826fbceb8 100644 --- a/src/song.c +++ b/src/song.c @@ -179,7 +179,7 @@ void readSongInfoIntoList(FILE * fp, SongList * list) { else if(0==strncmp(SONG_FILE,buffer,strlen(SONG_FILE))) { if(!song || song->utf8file) { ERROR("Problems reading song info\n"); - exit(-1); + exit(EXIT_FAILURE); } song->utf8file = strdup(&(buffer[strlen(SONG_FILE)])); } @@ -208,7 +208,7 @@ void readSongInfoIntoList(FILE * fp, SongList * list) { } else { ERROR("songinfo: unknown line in db: %s\n",buffer); - exit(-1); + exit(EXIT_FAILURE); } } -- cgit v1.2.3