From 21811fe72df202413ca7f65bf271d4c9fe1345c5 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 8 Aug 2010 16:19:03 +0200 Subject: s3: Lift the server_messaging_context from notify_printer_status --- source3/printing/printing.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source3/printing/printing.c') diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 8a12814386..5d8348e705 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -3063,7 +3063,8 @@ WERROR print_queue_pause(struct auth_serversupplied_info *server_info, /* Send a printer notify message */ - notify_printer_status(snum, PRINTER_STATUS_PAUSED); + notify_printer_status(server_event_context(), msg_ctx, snum, + PRINTER_STATUS_PAUSED); return WERR_OK; } @@ -3099,7 +3100,8 @@ WERROR print_queue_resume(struct auth_serversupplied_info *server_info, /* Send a printer notify message */ - notify_printer_status(snum, PRINTER_STATUS_OK); + notify_printer_status(server_event_context(), msg_ctx, snum, + PRINTER_STATUS_OK); return WERR_OK; } -- cgit