(wrong string) … cpp defines || Markus Teich

From: <git_AT_suckless.org>
Date: Sun, 8 Nov 2015 21:11:17 +0100 (CET)

commit 3ce84e71700ba35818c7a83630994d765e77599d
Author: Markus Teich <markus.teich_AT_stusta.mhn.de>
AuthorDate: Sat Nov 7 23:52:35 2015 +0100
Commit: Markus Teich <markus.teich_AT_stusta.mhn.de>
CommitDate: Sat Nov 7 23:52:35 2015 +0100

    don't use EXIT_… cpp defines

diff --git a/sent.c b/sent.c
index 74412ba..1b3b8f2 100644
--- a/sent.c
+++ b/sent.c
_AT_@ -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
_AT_@ -12,6 +12,6 @@ die(const char *errstr, ...) {
         va_start(ap, errstr);
         vfprintf(stderr, errstr, ap);
         va_end(ap);
- exit(EXIT_FAILURE);
+ exit(1);
 }
 
Received on Sun Nov 08 2015 - 21:11:17 CET

This archive was generated by hypermail 2.3.0 : Sun Nov 08 2015 - 21:12:17 CET