1
0
mirror of https://github.com/simh/simh.git synced 2026-01-27 20:37:50 +00:00

sigma: return corrrect CC on line disconnect

This commit is contained in:
ken rector
2024-10-25 17:24:02 -07:00
parent 8469b30d85
commit 0799544312

View File

@@ -403,7 +403,9 @@ else { /* receive */
}
if (mux_sta[ln] & MUXL_RBP) /* break pending? */
CC = CC3|CC4;
else CC = mux_ldsc[ln].rcve? CC4: CC3;
else if (mux_ldsc[ln].conn)
CC = mux_ldsc[ln].rcve? CC4: CC3;
else CC = 0;
}
return 0;
}