summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd.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.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.c')
-rw-r--r--source3/nmbd/nmbd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 7dff92a502..95bb89bb05 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -480,7 +480,8 @@ static void process(void)
* (nmbd_packets.c)
*/
- if(listen_for_packets(run_election)) {
+ if (listen_for_packets(nmbd_messaging_context(),
+ run_election)) {
TALLOC_FREE(frame);
return;
}
@@ -905,7 +906,7 @@ static bool open_sockets(bool isdaemon, int port)
/* Setup the async dns. We do it here so it doesn't have all the other
stuff initialised and thus chewing memory and sockets */
if(lp_we_are_a_wins_server() && lp_dns_proxy()) {
- start_async_dns();
+ start_async_dns(nmbd_messaging_context());
}
#endif