mirror of
https://github.com/open-simh/simh.git
synced 2026-05-01 22:16:21 +00:00
Display something descriptive when a peer hasn't been specified yet.
This commit is contained in:
@@ -595,6 +595,10 @@ t_stat dmc_showpeer (FILE* st, UNIT* uptr, int32 val, void* desc)
|
|||||||
{
|
{
|
||||||
fprintf(st, "peer=%s", controller->line->peer);
|
fprintf(st, "peer=%s", controller->line->peer);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
fprintf(st, "peer=unspecified");
|
||||||
|
}
|
||||||
|
|
||||||
return SCPE_OK;
|
return SCPE_OK;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user