From 4d0fcab10e91ad5962837f7dd428f5bca1c8c980 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Thu, 25 Jun 2020 17:01:24 +0200 Subject: Flesh out minecctl some more --- minecproxy/main.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'minecproxy/main.c') 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 +#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) { -- cgit v1.2.3