diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-08 10:52:19 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-08 16:03:19 +0200 |
commit | ae6a3ac22503fe342e7e04f83dd6c7a449e204ea (patch) | |
tree | 2b5922d6e9706a8c2fb2c6d4dd0044bf398ec0f2 /source3/rpc_server/srv_spoolss_util.c | |
parent | 3a85d0c79a660555b5dfaaf38340900edb624d3f (diff) | |
download | samba-ae6a3ac22503fe342e7e04f83dd6c7a449e204ea.tar.gz samba-ae6a3ac22503fe342e7e04f83dd6c7a449e204ea.tar.bz2 samba-ae6a3ac22503fe342e7e04f83dd6c7a449e204ea.zip |
s3: Lift the smbd_messaging_context from winreg_get_driver
Diffstat (limited to 'source3/rpc_server/srv_spoolss_util.c')
-rw-r--r-- | source3/rpc_server/srv_spoolss_util.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_spoolss_util.c b/source3/rpc_server/srv_spoolss_util.c index ac32fbc454..668fec7bb1 100644 --- a/source3/rpc_server/srv_spoolss_util.c +++ b/source3/rpc_server/srv_spoolss_util.c @@ -3993,6 +3993,7 @@ done: WERROR winreg_get_driver(TALLOC_CTX *mem_ctx, struct auth_serversupplied_info *server_info, + struct messaging_context *msg_ctx, const char *architecture, const char *driver_name, uint32_t driver_version, @@ -4022,7 +4023,7 @@ WERROR winreg_get_driver(TALLOC_CTX *mem_ctx, /* look for Win2k first and then for NT4 */ result = winreg_printer_opendriver(tmp_ctx, server_info, - smbd_messaging_context(), + msg_ctx, driver_name, architecture, 3, @@ -4033,7 +4034,7 @@ WERROR winreg_get_driver(TALLOC_CTX *mem_ctx, if (!W_ERROR_IS_OK(result)) { result = winreg_printer_opendriver(tmp_ctx, server_info, - smbd_messaging_context(), + msg_ctx, driver_name, architecture, 2, @@ -4046,7 +4047,7 @@ WERROR winreg_get_driver(TALLOC_CTX *mem_ctx, /* ok normal case */ result = winreg_printer_opendriver(tmp_ctx, server_info, - smbd_messaging_context(), + msg_ctx, driver_name, architecture, driver_version, |