Commit 82a9fa3b authored by brendan's avatar brendan

Whoops, don't spin if ufds is null.

svn path=/icecast/trunk/icecast/; revision=8959
parent 00749e6a
......@@ -142,7 +142,9 @@ int fserve_client_waiting (void)
i++;
}
}
if (ufds && poll(ufds, fserve_clients, 200) > 0)
if (!ufds)
thread_sleep(200000);
else if (poll(ufds, fserve_clients, 200) > 0)
{
/* mark any clients that are ready */
fclient = active_list;
......
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