Introduction
Introduction Statistics Contact Development Disclaimer Help
don't use EXIT_… cpp defines - sent - simple plaintext presentation tool
git clone git://git.suckless.org/sent
Log
Files
Refs
README
LICENSE
---
commit 3ce84e71700ba35818c7a83630994d765e77599d
parent 0dc8cb9dabb9630681c5cb44206e694e5ebe8514
Author: Markus Teich <[email protected]>
Date: Sat, 7 Nov 2015 23:52:35 +0100
don't use EXIT_… cpp defines
Diffstat:
M sent.c | 2 +-
M util.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git 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
@@ -12,6 +12,6 @@ die(const char *errstr, ...) {
va_start(ap, errstr);
vfprintf(stderr, errstr, ap);
va_end(ap);
- exit(EXIT_FAILURE);
+ exit(1);
}
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.