summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2015-11-07 23:52:35 +0100
committerMarkus Teich <markus.teich@stusta.mhn.de>2015-11-07 23:52:35 +0100
commit3ce84e71700ba35818c7a83630994d765e77599d (patch)
treedaf6d1f99fb546f7d500e173432a237cfd56dece
parent0dc8cb9dabb9630681c5cb44206e694e5ebe8514 (diff)
don't use EXIT_… cpp defines
-rw-r--r--sent.c2
-rw-r--r--util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sent.c b/sent.c
index 74412ba..1b3b8f2 100644
--- a/sent.c
+++ b/sent.c
@@ -622,5 +622,5 @@ int main(int argc, char *argv[])
run();
cleanup();
- return EXIT_SUCCESS;
+ return 0;
}
diff --git a/util.c b/util.c
index 51acd1a..ad3da78 100644
--- a/util.c
+++ b/util.c
@@ -12,6 +12,6 @@ die(const char *errstr, ...) {
va_start(ap, errstr);
vfprintf(stderr, errstr, ap);
va_end(ap);
- exit(EXIT_FAILURE);
+ exit(1);
}