don't use EXIT_… cpp defines
authorMarkus Teich <markus.teich@stusta.mhn.de>
Sat, 7 Nov 2015 22:52:35 +0000 (23:52 +0100)
committerMarkus Teich <markus.teich@stusta.mhn.de>
Sat, 7 Nov 2015 22:52:35 +0000 (23:52 +0100)
sent.c
util.c

diff --git a/sent.c b/sent.c
index 74412baeca1ca3fe2aa9136e057e6360c16376b6..1b3b8f27be43217dcb7ba437d19460a8b8928117 100644 (file)
--- 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 51acd1aed516d3cdeff714c31b9cd8f455c6c50e..ad3da7862b12bb3aa2b4d6661d747241d14c227a 100644 (file)
--- 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);
 }