tStop this madness - ratox - FIFO based tox client
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 328d8f718c2b53edeb7a953f2666977876e23cd1
(DIR) parent 93c3f6321138be7b2eaa9eb9920df7cd8425ca73
(HTM) Author: sin <sin@2f30.org>
Date: Thu, 2 Oct 2014 23:43:00 +0100
Stop this madness
Diffstat:
M eprintf.c | 2 +-
M ratox.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/eprintf.c b/eprintf.c
t@@ -26,7 +26,7 @@ eprintf(const char *fmt, ...)
va_list ap;
va_start(ap, fmt);
- venprintf(EXIT_FAILURE, fmt, ap);
+ venprintf(1, fmt, ap);
va_end(ap);
}
(DIR) diff --git a/ratox.c b/ratox.c
t@@ -1662,7 +1662,7 @@ usage(void)
fprintf(stderr, " -6\tIPv6 only\n");
fprintf(stderr, " -t\tEnable TCP mode (UDP by default)\n");
fprintf(stderr, " -p\tEnable TCP socks5 proxy\n");
- exit(EXIT_FAILURE);
+ exit(1);
}
int
t@@ -1699,5 +1699,5 @@ main(int argc, char *argv[])
friendload();
loop();
shutdown();
- return EXIT_SUCCESS;
+ return 0;
}