summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 14:35:50 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 16:03:25 +0200
commit7d08c25f989df14131567d055a9c922e27247c14 (patch)
tree2a6073c732fca44bdfb5eaf73c403c6a9a2fd4a7 /source3/smbd
parent61837197d8e0583d1ced7edd57353a72699495bb (diff)
downloadsamba-7d08c25f989df14131567d055a9c922e27247c14.tar.gz
samba-7d08c25f989df14131567d055a9c922e27247c14.tar.bz2
samba-7d08c25f989df14131567d055a9c922e27247c14.zip
s3: Lift the smbd_messaging_context from nt_printer_publish
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server_reload.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/server_reload.c b/source3/smbd/server_reload.c
index 601f83fb15..220147da60 100644
--- a/source3/smbd/server_reload.c
+++ b/source3/smbd/server_reload.c
@@ -66,7 +66,9 @@ void reload_printers(void)
NULL, lp_servicename(snum),
NULL, &pinfo2)) {
nt_printer_publish(server_info,
- server_info, pinfo2,
+ server_info,
+ smbd_messaging_context(),
+ pinfo2,
DSPRINT_UNPUBLISH);
TALLOC_FREE(pinfo2);
}