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/printing | |
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/printing')
-rw-r--r-- | source3/printing/nt_printing.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 4efc25b2c4..937cdfc6f5 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -1781,6 +1781,7 @@ static bool trim_overlap_drv_files(TALLOC_CTX *mem_ctx, bool printer_driver_files_in_use(TALLOC_CTX *mem_ctx, struct auth_serversupplied_info *server_info, + struct messaging_context *msg_ctx, struct spoolss_DriverInfo8 *info) { int i; @@ -1802,8 +1803,7 @@ bool printer_driver_files_in_use(TALLOC_CTX *mem_ctx, /* get the list of drivers */ - result = winreg_get_driver_list(mem_ctx, server_info, - smbd_messaging_context(), + result = winreg_get_driver_list(mem_ctx, server_info, msg_ctx, info->architecture, version, &num_drivers, &drivers); if (!W_ERROR_IS_OK(result)) { @@ -1820,8 +1820,7 @@ bool printer_driver_files_in_use(TALLOC_CTX *mem_ctx, driver = NULL; - result = winreg_get_driver(mem_ctx, server_info, - smbd_messaging_context(), + result = winreg_get_driver(mem_ctx, server_info, msg_ctx, info->architecture, drivers[i], version, &driver); if (!W_ERROR_IS_OK(result)) { |