summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-08 14:31:14 +0200
committerVolker Lendecke <vl@samba.org>2010-08-08 16:03:25 +0200
commite43ffde91f6781c135d4125b91911e79c06a7409 (patch)
tree59828ee8560e2d5136e6c1c67d54c8a53cc48470 /source3/printing
parent39ce462043d32e94b71a98001a43a95360017528 (diff)
downloadsamba-e43ffde91f6781c135d4125b91911e79c06a7409.tar.gz
samba-e43ffde91f6781c135d4125b91911e79c06a7409.tar.bz2
samba-e43ffde91f6781c135d4125b91911e79c06a7409.zip
s3: Lift the smbd_messaging_context from nt_printer_remove
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/nt_printing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 4afddd31c2..c44a0ec2c7 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -2205,12 +2205,12 @@ bool print_time_access_check(struct auth_serversupplied_info *server_info,
void nt_printer_remove(TALLOC_CTX *mem_ctx,
struct auth_serversupplied_info *server_info,
+ struct messaging_context *msg_ctx,
const char *printer)
{
WERROR result;
- result = winreg_delete_printer_key(mem_ctx, server_info,
- smbd_messaging_context(),
+ result = winreg_delete_printer_key(mem_ctx, server_info, msg_ctx,
printer, "");
if (!W_ERROR_IS_OK(result)) {
DEBUG(0, ("nt_printer_remove: failed to remove rpinter %s",