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/decode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/decode.c') 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) { -- cgit v1.2.3