BSD/OSX compile fix.

This commit is contained in:
Jan Vidar Krey 2010-01-25 14:23:22 +01:00
parent 59f67f9e17
commit e3cf41cb97

View File

@ -101,8 +101,8 @@ int net_backend_process()
FD_ZERO(&g_backend->wfds);
size_t secs = timeout_queue_get_next_timeout(&g_backend->timeout_queue, g_backend->now);
tval.tv_secs = secs;
tval.tv_usecs = 0;
tval.tv_sec = secs;
tval.tv_usec = 0;
for (n = 0, found = 0; found < g_backend->num && n < g_backend->max; n++)
{