summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_util.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 10:55:41 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 16:03:19 +0200
commit1af73b04fc30c6be8a9fa792e2ecdb1affb9996b (patch)
tree0f5ae4472c44ab54379c7bfde3bba4be1fe4cfd1 /source3/rpc_server/srv_spoolss_util.c
parentd104e37ed12653008301d68a584d76270a558ca4 (diff)
downloadsamba-1af73b04fc30c6be8a9fa792e2ecdb1affb9996b.tar.gz
samba-1af73b04fc30c6be8a9fa792e2ecdb1affb9996b.tar.bz2
samba-1af73b04fc30c6be8a9fa792e2ecdb1affb9996b.zip
s3: Lift the smbd_messaging_context from winreg_del_driver_list
Diffstat (limited to 'source3/rpc_server/srv_spoolss_util.c')
-rw-r--r--source3/rpc_server/srv_spoolss_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_util.c b/source3/rpc_server/srv_spoolss_util.c
index 05ee92f65a..2de45b70a6 100644
--- a/source3/rpc_server/srv_spoolss_util.c
+++ b/source3/rpc_server/srv_spoolss_util.c
@@ -4351,6 +4351,7 @@ done:
WERROR winreg_get_driver_list(TALLOC_CTX *mem_ctx,
struct auth_serversupplied_info *server_info,
+ struct messaging_context *msg_ctx,
const char *architecture,
uint32_t version,
uint32_t *num_drivers,
@@ -4378,7 +4379,7 @@ WERROR winreg_get_driver_list(TALLOC_CTX *mem_ctx,
* parent of all drivers for this architecture and version */
result = winreg_printer_opendriver(tmp_ctx,
server_info,
- smbd_messaging_context(),
+ msg_ctx,
NULL,
architecture,
version,