summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_packets.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-12-13 16:48:11 +0100
committerVolker Lendecke <vl@samba.org>2011-12-14 17:34:20 +0100
commita2d1b3b144633ed7ce37492874d691fc0244d7aa (patch)
treeaff65753f7f7b322430c991febcb5b5d0ac66aba /source3/nmbd/nmbd_packets.c
parent5c3194cc41c68ce4aacf339225b0b0d3a4f42963 (diff)
downloadsamba-a2d1b3b144633ed7ce37492874d691fc0244d7aa.tar.gz
samba-a2d1b3b144633ed7ce37492874d691fc0244d7aa.tar.bz2
samba-a2d1b3b144633ed7ce37492874d691fc0244d7aa.zip
s3: Centralize nmbd_messaging_context in nmbd.c
Diffstat (limited to 'source3/nmbd/nmbd_packets.c')
-rw-r--r--source3/nmbd/nmbd_packets.c4
1 files changed, 2 insertions, 2 deletions
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