diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-04-02 23:34:16 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-04-02 23:34:16 +0000 |
commit | 785cdb0114f8cf534ef93e413e49fbfb62521a67 (patch) | |
tree | 8b464779ba774c20eb7dfb29ac5f9544c652a374 /src/decode.c | |
parent | 4f912f1b905f54d8e238559430511f9d4aae7c5a (diff) | |
download | mpd-785cdb0114f8cf534ef93e413e49fbfb62521a67.tar.gz mpd-785cdb0114f8cf534ef93e413e49fbfb62521a67.tar.xz mpd-785cdb0114f8cf534ef93e413e49fbfb62521a67.zip |
use EXIT_SUCCESS and EXIT_FAILURE
git-svn-id: https://svn.musicpd.org/mpd/trunk@591 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/decode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decode.c b/src/decode.c index a849b738d..ae5e2fcb4 100644 --- a/src/decode.c +++ b/src/decode.c @@ -70,7 +70,7 @@ void decodeSigHandler(int sig) { int pid = *decode_pid; if(pid>0) kill(pid,SIGTERM); } - exit(0); + exit(EXIT_SUCCESS); } } @@ -275,7 +275,7 @@ int decoderInit(PlayerControl * pc, Buffer * cb, AudioFormat *af, else my_usleep(10000); } - exit(0); + exit(EXIT_SUCCESS); /* END OF CHILD */ } else if(pid<0) { |