summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
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);
}