diff options
-rw-r--r-- | eprintf.c | 2 | ||||
-rw-r--r-- | ratox.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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); } @@ -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 @@ -1699,5 +1699,5 @@ main(int argc, char *argv[]) friendload(); loop(); shutdown(); - return EXIT_SUCCESS; + return 0; } |