From 620d7e7962392114e17d6da0c7efb4a4a2336af8 Mon Sep 17 00:00:00 2001 From: Masanori Ogino Date: Thu, 7 Dec 2023 17:34:44 +0900 Subject: [PATCH] Make sj3serv verbose Signed-off-by: Masanori Ogino --- Paths.h.in | 4 ---- include/Const.h | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Paths.h.in b/Paths.h.in index 4aa5626..7b99f2e 100644 --- a/Paths.h.in +++ b/Paths.h.in @@ -30,11 +30,7 @@ #ifndef SJ3_PATHS_H_ #define SJ3_PATHS_H_ -#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__) #define ErrorOutFile "/dev/console" -#else -#define ErrorOutFile "/dev/null" -#endif #define SocketName "/tmp/sj3sock" #define LockFile "/tmp/SJ3SERV.EXIST" diff --git a/include/Const.h b/include/Const.h index dc2e050..e1f422b 100644 --- a/include/Const.h +++ b/include/Const.h @@ -64,11 +64,11 @@ #define MinClLen 512 #define MaxClLen 0x7fff -#define DebugOutFile NULL +#define DebugOutFile ErrorOutFile #define DebugLevel 0 #define ForkFlag 1 #define MaxClientNum 512 -#define LogOutFile NULL +#define LogOutFile ErrorOutFile #define PortName "sj3" #ifdef TLI #define LocalHost "localhost"