diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-25 17:01:24 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-25 17:01:24 +0200 |
commit | 4d0fcab10e91ad5962837f7dd428f5bca1c8c980 (patch) | |
tree | 3529036819aec2a56d769f3f8626fb24c625d4b2 /minecproxy/main.c | |
parent | 7e980225821aaa3073fc46d2dc248e9571d3c298 (diff) |
Flesh out minecctl some more
Diffstat (limited to 'minecproxy/main.c')
-rw-r--r-- | minecproxy/main.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/minecproxy/main.c b/minecproxy/main.c index 790bbfe..99513ee 100644 --- a/minecproxy/main.c +++ b/minecproxy/main.c @@ -27,7 +27,7 @@ #include "igmp.h" #include "idle.h" #include "ptimer.h" -#include <config.h> +#include "config.h" /* Global */ struct cfg *cfg = NULL; @@ -38,14 +38,6 @@ static bool daemonize = false; static FILE *log_file = NULL; static const char *log_file_path = NULL; -#define ANSI_RED "\x1B[0;31m" -#define ANSI_GREEN "\x1B[0;32m" -#define ANSI_YELLOW "\x1B[0;33m" -#define ANSI_BLUE "\x1B[0;34m" -#define ANSI_MAGENTA "\x1B[0;35m" -#define ANSI_GREY "\x1B[0;38;5;245m" -#define ANSI_NORMAL "\x1B[0m" - static void msg(enum debug_lvl lvl, const char *fmt, va_list ap) { |