diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-08 14:23:12 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-08 16:03:24 +0200 |
commit | 862e888f71119b528d72290ad565d5a6203b4f17 (patch) | |
tree | bb18d7addef23dbaf679328989724dea3f570cee /source3/rpc_server | |
parent | 51c47a330257c58e8c3b5db197df07cf3bf7d9a1 (diff) | |
download | samba-862e888f71119b528d72290ad565d5a6203b4f17.tar.gz samba-862e888f71119b528d72290ad565d5a6203b4f17.tar.bz2 samba-862e888f71119b528d72290ad565d5a6203b4f17.zip |
s3: Lift the smbd_messaging_context from printer_driver_in_use
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index d6830dace6..683688ad52 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -1868,7 +1868,8 @@ WERROR _spoolss_DeletePrinterDriver(struct pipes_struct *p, } - if (printer_driver_in_use(p->mem_ctx, p->server_info, info)) { + if (printer_driver_in_use(p->mem_ctx, p->server_info, p->msg_ctx, + info)) { status = WERR_PRINTER_DRIVER_IN_USE; goto done; } @@ -1969,7 +1970,7 @@ WERROR _spoolss_DeletePrinterDriverEx(struct pipes_struct *p, } } - if (printer_driver_in_use(info, p->server_info, info)) { + if (printer_driver_in_use(info, p->server_info, p->msg_ctx, info)) { status = WERR_PRINTER_DRIVER_IN_USE; goto done; } |