Fixes to make telnet interface work more than 1x.
This commit is contained in:
parent
45807b3126
commit
9456906a0c
1 changed files with 2 additions and 2 deletions
|
@ -206,6 +206,8 @@ bool FGProps::process_command( const char *cmd ) {
|
|||
}
|
||||
} else if ( command == "quit" ) {
|
||||
close();
|
||||
path = "/";
|
||||
return true;
|
||||
} else {
|
||||
io->writestring( "\n" );
|
||||
io->writestring( "Valid commands are:\n" );
|
||||
|
@ -258,8 +260,6 @@ bool FGProps::process() {
|
|||
bool FGProps::close() {
|
||||
SGIOChannel *io = get_io_channel();
|
||||
|
||||
set_enabled( false );
|
||||
|
||||
if ( ! io->close() ) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue