mirror of
https://github.com/open-simh/simh.git
synced 2026-01-14 07:40:35 +00:00
Cleanup the mux attach string for single line multiplexers
This commit is contained in:
parent
9d2811d666
commit
53c537b8dd
@ -672,6 +672,9 @@ for (i=0; i<mp->lines; ++i) {
|
||||
sprintf (growstring(&tptr, 12 + strlen (lp->port)), ",%s%s", lp->port, lp->notelnet ? ";notelnet" : "");
|
||||
}
|
||||
}
|
||||
if (mp->lines == 1)
|
||||
while ((*tptr == ',') || (*tptr == ' '))
|
||||
strcpy(tptr, tptr+1);
|
||||
if (*tptr == '\0') {
|
||||
free (tptr);
|
||||
tptr = NULL;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user