summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 14:39:40 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 16:03:26 +0200
commit99b2da4504307b6eefc6afbd502d931d29625ea0 (patch)
treebf4bc40edd9df93c69828448b31fb75c30e73d15 /source3/smbd
parentbccb7c87cca02adacd7ede9b60d543b8b3b1eb29 (diff)
downloadsamba-99b2da4504307b6eefc6afbd502d931d29625ea0.tar.gz
samba-99b2da4504307b6eefc6afbd502d931d29625ea0.tar.bz2
samba-99b2da4504307b6eefc6afbd502d931d29625ea0.zip
s3: Lift the smbd_messaging_context from is_printer_published
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server_reload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/server_reload.c b/source3/smbd/server_reload.c
index 220147da60..4a499daf25 100644
--- a/source3/smbd/server_reload.c
+++ b/source3/smbd/server_reload.c
@@ -63,6 +63,7 @@ void reload_printers(void)
DEBUG(3, ("removing stale printer %s\n", pname));
if (is_printer_published(server_info, server_info,
+ smbd_messaging_context(),
NULL, lp_servicename(snum),
NULL, &pinfo2)) {
nt_printer_publish(server_info,