1
0
mirror of https://github.com/simh/simh.git synced 2026-02-17 04:58:14 +00:00

Fixed duplicate logging output when output buffers are full and potential pauses in console output (reported by Mark Benson)

This commit is contained in:
Mark Pizzolato
2012-12-15 11:40:20 -08:00
parent d955c383e9
commit 6cabdb9f9f
2 changed files with 3 additions and 4 deletions

View File

@@ -185,8 +185,7 @@ if (sim_con_tmxr.master == 0) /* not Telnet? done */
if (tmxr_poll_conn (&sim_con_tmxr) >= 0) /* poll connect */
sim_con_ldsc.rcve = 1; /* rcv enabled */
sim_activate_after(uptr, 1000000); /* check again in 1 second */
if (sim_con_ldsc.xmte == 0) /* xmt disabled? */
tmxr_send_buffered_data (&sim_con_ldsc); /* try to flush buffered data */
tmxr_send_buffered_data (&sim_con_ldsc); /* try to flush any buffered data */
return SCPE_OK;
}