summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 16:16:37 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 18:09:34 +0200
commit49d18478fd952b360221852a0bc0e2f4f6427aea (patch)
tree44addc6355d12064c2da923aa46795a47762e755 /source3/utils
parent30de2f735b160c0a3d311748066c73421f7a484d (diff)
downloadsamba-49d18478fd952b360221852a0bc0e2f4f6427aea.tar.gz
samba-49d18478fd952b360221852a0bc0e2f4f6427aea.tar.bz2
samba-49d18478fd952b360221852a0bc0e2f4f6427aea.zip
s3: Lift the server_messaging_context from notify_printer_status_byname
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/smbcontrol.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 9fc8012159..098e07616b 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -593,7 +593,9 @@ static bool do_printnotify(struct messaging_context *msg_ctx,
return False;
}
- notify_printer_status_byname(argv[2], PRINTER_STATUS_PAUSED);
+ notify_printer_status_byname(messaging_event_context(msg_ctx),
+ msg_ctx, argv[2],
+ PRINTER_STATUS_PAUSED);
goto send;
@@ -605,7 +607,9 @@ static bool do_printnotify(struct messaging_context *msg_ctx,
return False;
}
- notify_printer_status_byname(argv[2], PRINTER_STATUS_OK);
+ notify_printer_status_byname(messaging_event_context(msg_ctx),
+ msg_ctx, argv[2],
+ PRINTER_STATUS_OK);
goto send;
@@ -621,7 +625,7 @@ static bool do_printnotify(struct messaging_context *msg_ctx,
jobid = atoi(argv[3]);
notify_job_status_byname(
- argv[2], jobid, JOB_STATUS_PAUSED,
+ argv[2], jobid, JOB_STATUS_PAUSED,
SPOOLSS_NOTIFY_MSG_UNIX_JOBID);
goto send;