summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 14:23:12 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 16:03:24 +0200
commit862e888f71119b528d72290ad565d5a6203b4f17 (patch)
treebb18d7addef23dbaf679328989724dea3f570cee /source3/rpc_server
parent51c47a330257c58e8c3b5db197df07cf3bf7d9a1 (diff)
downloadsamba-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.c5
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;
}