Commit 6f91f1d5 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* backport [18843]

Close telnet connection in case of error (fixes #995)
parent 07486522
......@@ -382,7 +382,7 @@ static void Run( intf_thread_t *p_intf )
cl->i_mode + 2 );
}
if (i_recv == 0)
if( i_recv <= 0 )
{
net_Close( cl->fd );
TAB_REMOVE( p_intf->p_sys->i_clients ,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment