Fixed tmxr attach logic to initialize the backlink on all of the mux lines when only a single line is attached.

This commit is contained in:
Mark Pizzolato 2013-04-07 17:41:16 -07:00
parent eb1452913f
commit 52838eab05

View file

@ -1501,6 +1501,10 @@ t_bool nolog, notelnet, listennotelnet, unbuffered;
TMLN *lp;
t_stat r = SCPE_ARG;
for (i = 0; i < mp->lines; i++) { /* initialize lines */
lp = mp->ldsc + i;
lp->mp = mp; /* set the back pointer */
}
tmxr_debug_trace (mp, "tmxr_open_master()");
while (*tptr) {
line = nextline;