Skip to content

Commit

Permalink
log: fix syslog gitch after #2386
Browse files Browse the repository at this point in the history
The tail of new datetime format was sticking out.
  • Loading branch information
metalefty committed Feb 9, 2023
1 parent 59f2ae3 commit d2eaef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2eaef2

Please sign in to comment.