make work with poll

This commit is contained in:
Love Hornquist Astrand
2009-11-23 17:52:46 -08:00
parent 7d1e32e6d9
commit 42ba3389db

View File

@@ -735,7 +735,8 @@ process_loop(void)
if (n < num_clients - 1)
clients[n] = clients[num_clients - 1];
num_clients--;
}
} else
n++;
}
free(fds);
@@ -864,7 +865,7 @@ heim_sipc_free_context(heim_sipc ctx)
void
heim_ipc_main(void)
{
#if __APPLE__
#ifdef HAVE_GCD
dispatch_main();
#else
process_loop();