Commit 232e5d5e authored by Dafydd Harries's avatar Dafydd Harries

last parameter to select() should be NULL, not 0

darcs-hash:20070212132227-c9803-6a09dc0c8c81bf1a3689cc21ef619381e10e7f0f.gz
parent 3964ff7b
......@@ -747,7 +747,7 @@ nice_agent_recv (
for (;;)
{
num_readable = select (max_fd + 1, &fds, NULL, NULL, 0);
num_readable = select (max_fd + 1, &fds, NULL, NULL, NULL);
g_assert (num_readable >= 0);
if (num_readable > 0)
......@@ -822,7 +822,7 @@ nice_agent_poll_read (
max_fd = MAX (fileno, max_fd);
}
num_readable = select (max_fd + 1, &fds, NULL, NULL, 0);
num_readable = select (max_fd + 1, &fds, NULL, NULL, NULL);
if (num_readable < 1)
/* none readable, or error */
......
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