From f68988980d72d837f49451068b98bc96d1a548fc Mon Sep 17 00:00:00 2001 From: lns Date: Sun, 26 Aug 2018 16:01:18 +0200 Subject: Introduced the protocol->jail binary packet. We are using a handler/callback functions to obtain additional information from the protocol handler and transmit it to the sandbox. Signed-off-by: lns --- src/log_colored.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/log_colored.c') diff --git a/src/log_colored.c b/src/log_colored.c index 86aeab6..44e462e 100644 --- a/src/log_colored.c +++ b/src/log_colored.c @@ -100,7 +100,7 @@ void log_fmt_colored(log_priority prio, const char *fmt, ...) my_pid = getpid(); curtime_str(time, sizeof time); switch (prio) { - case DEBUG: + case LP_DEBUG: LOG(time, "[DEBUG] ", my_pid, out); break; case NOTICE: @@ -140,7 +140,7 @@ void log_fmtex_colored(log_priority prio, const char *srcfile, my_pid = getpid(); curtime_str(time, sizeof time); switch (prio) { - case DEBUG: + case LP_DEBUG: LOGEX(time, "[DEBUG] ", my_pid, srcfile, line, out); break; case NOTICE: @@ -178,7 +178,7 @@ void log_fmtexerr_colored(log_priority prio, const char *srcfile, my_pid = getpid(); curtime_str(time, sizeof time); switch (prio) { - case DEBUG: + case LP_DEBUG: LOGEXERR(time, "[DEBUG] ", my_pid, srcfile, line, out, saved_errno); break; case NOTICE: -- cgit v1.2.3