Commit 54384401 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

telnet: don't call msleep(1000) on poll() error

We should probably exit anyway, as it should be a bug...
parent f097016c
...@@ -280,8 +280,8 @@ static void Run( intf_thread_t *p_intf ) ...@@ -280,8 +280,8 @@ static void Run( intf_thread_t *p_intf )
if (net_errno != EINTR) if (net_errno != EINTR)
{ {
msg_Err (p_intf, "network poll error"); msg_Err (p_intf, "network poll error");
msleep (1000); pause (); /* We are screwed! */
continue; break;
} }
case 0: case 0:
continue; continue;
......
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