TMXR: Accept names when establishing listen sockets as originally intended

Problem found while testing solution for the problem reported in #767
This commit is contained in:
Mark Pizzolato 2019-11-14 13:13:46 -08:00
parent 23856afcac
commit 3c9efd7fdb

View file

@ -2745,8 +2745,10 @@ while (*tptr) {
else else
if (0 == MATCH_CMD (cptr, "TELNET")) if (0 == MATCH_CMD (cptr, "TELNET"))
listennotelnet = FALSE; listennotelnet = FALSE;
else else {
return sim_messagef (SCPE_ARG, "Invalid Specifier: %s\n", tptr); if (*tptr)
return sim_messagef (SCPE_ARG, "Invalid Specifier: %s\n", tptr);
}
} }
cptr = init_cptr; cptr = init_cptr;
} }