From d2eaef21b87b738437140bf60a995508d5a7fc72 Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Thu, 9 Feb 2023 10:32:08 +0900 Subject: [PATCH] log: fix syslog gitch after #2386 The tail of new datetime format was sticking out. --- common/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/log.c b/common/log.c index 23509af2cb..39ffb77928 100644 --- a/common/log.c +++ b/common/log.c @@ -1084,7 +1084,7 @@ internal_log_message(const enum logLevels lvl, { /* log to syslog*/ /* %s fix compiler warning 'not a string literal' */ - syslog(internal_log_xrdp2syslog(lvl), "%s", buff + 20); + syslog(internal_log_xrdp2syslog(lvl), "%s", buff + 31); } if (g_staticLogConfig->enable_console