From 128976e01121c877cb815e60504fb6a5391255a2 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 8 Aug 2010 16:42:59 +0200 Subject: s3: Lift the server_messaging_context from notify_printer_byname --- source3/utils/smbcontrol.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/utils') diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index db0b91eb48..7b5f8aaa55 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -695,7 +695,8 @@ static bool do_printnotify(struct messaging_context *msg_ctx, return False; } - notify_printer_byname(argv[2], attribute, + notify_printer_byname(messaging_event_context(msg_ctx), + msg_ctx, argv[2], attribute, CONST_DISCARD(char *, argv[4])); goto send; -- cgit