BSD/OSX compile fix.

This commit is contained in:
Jan Vidar Krey 2010-01-25 14:23:22 +01:00
parent 59f67f9e17
commit e3cf41cb97
1 changed files with 2 additions and 2 deletions

View File

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