From 9456906a0cd4e0361d89325fdff8ebcb5df1cc29 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 28 Jan 2002 22:48:29 +0000 Subject: [PATCH] Fixes to make telnet interface work more than 1x. --- src/Network/props.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Network/props.cxx b/src/Network/props.cxx index 7452f7b5d..55a41cb80 100644 --- a/src/Network/props.cxx +++ b/src/Network/props.cxx @@ -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; } -- 2.39.5