SCP: Let sim_messagef() be well behaved when stat is SCPE_OK
This commit is contained in:
parent
4431350bd1
commit
2c55ad0cfa
1 changed files with 1 additions and 1 deletions
2
scp.c
2
scp.c
|
@ -12303,7 +12303,7 @@ if (sim_deb && (((sim_deb != stdout) && (sim_deb != sim_log)) || inhibit_message
|
||||||
|
|
||||||
if (buf != stackbuf)
|
if (buf != stackbuf)
|
||||||
free (buf);
|
free (buf);
|
||||||
return stat | SCPE_NOMESSAGE;
|
return stat | ((stat != SCPE_OK) ? SCPE_NOMESSAGE : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Inline debugging - will print debug message if debug file is
|
/* Inline debugging - will print debug message if debug file is
|
||||||
|
|
Loading…
Add table
Reference in a new issue