Merge pull request #10255 from Jason2866/patch-4

Fix compile error
This commit is contained in:
Theo Arends 2020-12-25 22:11:05 +01:00 committed by GitHub
commit 346aac3db8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -877,7 +877,7 @@ void Dump2log(void) {
char c=SML_SREAD&0x7f;
if (c=='\n' || c=='\r') {
log_data[sml_logindex]=0;
AddLog(LOG_LEVEL_INFO);
AddLogData(LOG_LEVEL_INFO, log_data);
sml_logindex=2;
log_data[0]=':';
log_data[1]=' ';