aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-04-02 23:34:16 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-04-02 23:34:16 +0000
commit785cdb0114f8cf534ef93e413e49fbfb62521a67 (patch)
tree8b464779ba774c20eb7dfb29ac5f9544c652a374 /src/decode.c
parent4f912f1b905f54d8e238559430511f9d4aae7c5a (diff)
downloadmpd-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 'src/decode.c')
-rw-r--r--src/decode.c4
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) {