summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 16:42:59 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 18:09:36 +0200
commit128976e01121c877cb815e60504fb6a5391255a2 (patch)
tree2e0373d1be916e2e032c61f837048a667714e061 /source3/utils
parentd62c73b799baf908269835f2d69b1a2094ef23c6 (diff)
downloadsamba-128976e01121c877cb815e60504fb6a5391255a2.tar.gz
samba-128976e01121c877cb815e60504fb6a5391255a2.tar.bz2
samba-128976e01121c877cb815e60504fb6a5391255a2.zip
s3: Lift the server_messaging_context from notify_printer_byname
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/smbcontrol.c3
1 files changed, 2 insertions, 1 deletions
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;