From 6e46a96d8012e369e1b04e6148a6b3545e420993 Mon Sep 17 00:00:00 2001 From: Evgeniy Kozhuhovskiy Date: Mon, 21 Feb 2005 14:16:44 +0000 Subject: [PATCH] fixed trouble with deiniting of tcpip terminal :) --- source/bforce/sess_answ.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/bforce/sess_answ.c b/source/bforce/sess_answ.c index dd76edf..5ac45d9 100644 --- a/source/bforce/sess_answ.c +++ b/source/bforce/sess_answ.c @@ -115,7 +115,7 @@ int answ_system(e_session type, char *connstr, int inetd) rc = session(); - if( !inetd ) + if( (inetd != 0) && (state.inet = FALSE) ) { port_deinit(0, &oldtio); port_close();