Commit 1662591d authored by Ilkka Ollakka's avatar Ilkka Ollakka

small (ugly) fix to check EAGAIN after recv returns -1, fixes telnet-interface input

parent c37a1aac
......@@ -375,7 +375,7 @@ static void Run( intf_thread_t *p_intf )
cl->i_mode + 2 );
}
if (i_recv <= 0)
if (i_recv <= 0 && ( end || errno != EAGAIN ) )
goto drop;
}
}
......
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