1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-13 23:37:13 +00:00

Fix to avoid remote console looping in Multi-Command mode (Fix to issue #50).

This commit is contained in:
Mark Pizzolato 2013-05-12 12:11:18 -07:00
parent 671644ff41
commit 3d27f015c1

View File

@ -659,6 +659,7 @@ for (i=(was_stepping ? sim_rem_step_line : 0);
printf ("Remote Console Command from %s> %s\r\n", lp->ipad, sim_rem_buf[i]);
if (sim_log)
fprintf (sim_log, "Remote Console Command from %s> %s\n", lp->ipad, sim_rem_buf[i]);
got_command = FALSE;
if (strlen(sim_rem_buf[i]) >= sizeof(cbuf)) {
printf ("\nLine too long. Ignored. Continuing Simulator execution\n");
if (sim_log)