From f68988980d72d837f49451068b98bc96d1a548fc Mon Sep 17 00:00:00 2001
From: lns <matzeton@googlemail.com>
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 <matzeton@googlemail.com>
---
 src/log_file.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/log_file.c')

diff --git a/src/log_file.c b/src/log_file.c
index 5164aed..833b2ad 100644
--- a/src/log_file.c
+++ b/src/log_file.c
@@ -108,7 +108,7 @@ void log_fmt_file(log_priority prio, const char *fmt, ...)
     my_pid = getpid();
     curtime_str(time, sizeof time);
     switch (prio) {
-        case DEBUG:
+        case LP_DEBUG:
             LOG(flog, time, "[DEBUG]  ", my_pid, out);
             break;
         case NOTICE:
@@ -148,7 +148,7 @@ void log_fmtex_file(log_priority prio, const char *srcfile,
     my_pid = getpid();
     curtime_str(time, sizeof time);
     switch (prio) {
-        case DEBUG:
+        case LP_DEBUG:
             LOGEX(flog, time, "[DEBUG]  ", my_pid, srcfile, line, out);
             break;
         case NOTICE:
@@ -186,7 +186,7 @@ void log_fmtexerr_file(log_priority prio, const char *srcfile,
     my_pid = getpid();
     curtime_str(time, sizeof time);
     switch (prio) {
-        case DEBUG:
+        case LP_DEBUG:
             LOGEXERR(flog, time, "[DEBUG]  ", my_pid, srcfile, line, out,
                 saved_errno);
             break;
-- 
cgit v1.2.3