1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-16 16:29:30 +00:00

Fix proper cleanup when a mux telnet session terminates.

This commit is contained in:
Mark Pizzolato 2012-12-21 13:55:30 -08:00
parent ca37549a22
commit 11cc564f0c

View File

@ -891,6 +891,7 @@ if (lp->serport) {
else /* Telnet connection */
if (lp->sock) {
sim_close_sock (lp->sock, 0); /* close socket */
lp->sock = 0;
lp->conn = FALSE;
lp->rcve = lp->xmte = 0;
}