mirror of
https://github.com/simh/simh.git
synced 2026-02-26 16:54:22 +00:00
Fix proper cleanup when a mux telnet session terminates.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user