The main select loop.
**************************************************************************** */
-static void process(void)
+static void process(struct messaging_context *msg)
{
bool run_election;
* (nmbd_packets.c)
*/
- if (listen_for_packets(nmbd_messaging_context(),
- run_election)) {
+ if (listen_for_packets(msg, run_election)) {
TALLOC_FREE(frame);
return;
}
}
TALLOC_FREE(frame);
- process();
+ process(nmbd_messaging_context());
kill_async_dns_child();
return(0);