From a2d1b3b144633ed7ce37492874d691fc0244d7aa Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 13 Dec 2011 16:48:11 +0100 Subject: s3: Centralize nmbd_messaging_context in nmbd.c --- source3/nmbd/nmbd_packets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/nmbd/nmbd_packets.c') diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c index c7ecfc6d36..da38dcfbfe 100644 --- a/source3/nmbd/nmbd_packets.c +++ b/source3/nmbd/nmbd_packets.c @@ -1864,7 +1864,7 @@ static void free_processed_packet_list(struct processed_packet **pp_processed_pa return True if the socket is dead ***************************************************************************/ -bool listen_for_packets(bool run_election) +bool listen_for_packets(struct messaging_context *msg, bool run_election) { static struct pollfd *fds = NULL; static struct socket_attributes *attrs = NULL; @@ -1948,7 +1948,7 @@ bool listen_for_packets(bool run_election) #ifndef SYNC_DNS if ((dns_fd != -1) && (dns_pollidx != -1) && (fds[dns_pollidx].revents & (POLLIN|POLLHUP|POLLERR))) { - run_dns_queue(); + run_dns_queue(msg); } #endif -- cgit