diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-08 16:38:54 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-08 18:09:36 +0200 |
commit | f3313c53078d60a437cfa4bea71995beb223b819 (patch) | |
tree | a23bdc187326f3513b45a5fa696e344767b7b83b /source3/printing | |
parent | c427423aeecfc8c123a75079d4398b093ab9bc76 (diff) | |
download | samba-f3313c53078d60a437cfa4bea71995beb223b819.tar.gz samba-f3313c53078d60a437cfa4bea71995beb223b819.tar.bz2 samba-f3313c53078d60a437cfa4bea71995beb223b819.zip |
s3: Lift the server_messaging_context from notify_printer_printername
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/notify.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/printing/notify.c b/source3/printing/notify.c index 890a20f5a4..b137331137 100644 --- a/source3/printing/notify.c +++ b/source3/printing/notify.c @@ -541,12 +541,14 @@ void notify_printer_sharename(struct tevent_context *ev, snum, strlen(share_name) + 1, share_name); } -void notify_printer_printername(int snum, const char *printername) +void notify_printer_printername(struct tevent_context *ev, + struct messaging_context *msg_ctx, + int snum, const char *printername) { const char *sharename = lp_servicename(snum); send_notify_field_buffer( - server_event_context(), server_messaging_context(), + ev, msg_ctx, sharename, PRINTER_NOTIFY_TYPE, PRINTER_NOTIFY_FIELD_PRINTER_NAME, snum, strlen(printername) + 1, printername); } |