Skip to content

Commit

Permalink
Merge pull request #2541 from metalefty/log_time
Browse files Browse the repository at this point in the history
log: fix syslog glitch after #2386
  • Loading branch information
metalefty authored Feb 10, 2023
2 parents 1ffe789 + ec2f165 commit c463a0e
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 c463a0e

Please sign in to comment.