BSD/OSX compile fix.
This commit is contained in:
parent
59f67f9e17
commit
e3cf41cb97
|
@ -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++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue