mirror of
https://github.com/open-simh/simh.git
synced 2026-04-29 13:22:34 +00:00
TMXR: Return reasonable error status when disconnecting a line without specifying the line
This commit is contained in:
@@ -786,7 +786,7 @@ else if (uptr) { /* implied line form? */
|
|||||||
}
|
}
|
||||||
|
|
||||||
else if (cptr == NULL) /* named line form, parameter supplied? */
|
else if (cptr == NULL) /* named line form, parameter supplied? */
|
||||||
code = SCPE_ARG; /* no, so report missing */
|
code = SCPE_MISVAL; /* no, so report missing */
|
||||||
|
|
||||||
else {
|
else {
|
||||||
ln = get_uint (cptr, 10, mp->lines - 1, &code); /* get line number */
|
ln = get_uint (cptr, 10, mp->lines - 1, &code); /* get line number */
|
||||||
|
|||||||
Reference in New Issue
Block a user