From 747f5c531862ba3f06f1b8c54eed5c01e549efc8 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 8 Aug 2010 10:29:50 +0200 Subject: s3: Lift the smbd_messaging_context from winreg_delete_printer_key --- source3/printing/nt_printing.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/printing') diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 72a57a7df7..29d5bd3e05 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -2206,7 +2206,9 @@ void nt_printer_remove(TALLOC_CTX *mem_ctx, { WERROR result; - result = winreg_delete_printer_key(mem_ctx, server_info, printer, ""); + result = winreg_delete_printer_key(mem_ctx, server_info, + smbd_messaging_context(), + printer, ""); if (!W_ERROR_IS_OK(result)) { DEBUG(0, ("nt_printer_remove: failed to remove rpinter %s", printer)); -- cgit