Shut down session on receipt of "ctld\n" even when reading arguments:
(player): New member eof. (recvclient): Return -1 without receiving input when it is set. Set it on receipt of "ctld\n". (execute): Clear it after receiving the script.
This commit is contained in:
parent
bd0d5c10b6
commit
79407e68fd
3 changed files with 28 additions and 6 deletions
|
@ -302,6 +302,7 @@ execute(void)
|
|||
}
|
||||
if (redir == NULL)
|
||||
pr("Execute : %s\n", failed ? "aborted" : "terminated");
|
||||
player->eof = 0;
|
||||
return RET_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue