Fix a 100% CPU usage bug

This commit is contained in:
Přemysl Eric Janouch 2013-05-19 20:06:29 +02:00
parent ce3b2c80a1
commit d3b966a93f

View File

@ -1139,7 +1139,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
while (TRUE)
{
if (poll_restart (pollfd, 3, -1) == -1)
if (poll_restart (pollfd, 2, -1) == -1)
abort ();
if ((pollfd[0].revents & POLLIN)