diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-08 14:24:48 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-08 16:03:24 +0200 |
commit | d79895e82606bcfe265a67bf9a6b7e03368f0bae (patch) | |
tree | f9df494b8126f84fca41a19a7fa01e3e88d3925d /source3/rpc_server | |
parent | 862e888f71119b528d72290ad565d5a6203b4f17 (diff) | |
download | samba-d79895e82606bcfe265a67bf9a6b7e03368f0bae.tar.gz samba-d79895e82606bcfe265a67bf9a6b7e03368f0bae.tar.bz2 samba-d79895e82606bcfe265a67bf9a6b7e03368f0bae.zip |
s3: Lift the smbd_messaging_context from printer_driver_files_in_use
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 683688ad52..1acde48d44 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -1993,7 +1993,8 @@ WERROR _spoolss_DeletePrinterDriverEx(struct pipes_struct *p, if (delete_files && (r->in.delete_flags & DPD_DELETE_ALL_FILES) && - printer_driver_files_in_use(info, p->server_info, info)) { + printer_driver_files_in_use(info, p->server_info, p->msg_ctx, + info)) { /* no idea of the correct error here */ status = WERR_ACCESS_DENIED; goto done; @@ -2011,6 +2012,7 @@ WERROR _spoolss_DeletePrinterDriverEx(struct pipes_struct *p, if (delete_files && (r->in.delete_flags & DPD_DELETE_ALL_FILES) && printer_driver_files_in_use(info, p->server_info, + p->msg_ctx, info_win2k)) { /* no idea of the correct error here */ talloc_free(info_win2k); |