Merge pull request #2541 from metalefty/log_time

log: fix syslog glitch after #2386
This commit is contained in:
metalefty 2023-02-10 09:06:12 +09:00 committed by GitHub
commit c463a0e865
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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