diff --git a/sim_tmxr.c b/sim_tmxr.c index 36093e47..f88d7f7e 100644 --- a/sim_tmxr.c +++ b/sim_tmxr.c @@ -672,6 +672,9 @@ for (i=0; ilines; ++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;