diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-08 10:29:50 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-08 16:03:17 +0200 |
commit | 747f5c531862ba3f06f1b8c54eed5c01e549efc8 (patch) | |
tree | 1a628f44317c60c3ffa2a9904c76409f3612494d /source3/printing | |
parent | 3ccdbc4119ca50b4a745b820f05f0a0f0965e827 (diff) | |
download | samba-747f5c531862ba3f06f1b8c54eed5c01e549efc8.tar.gz samba-747f5c531862ba3f06f1b8c54eed5c01e549efc8.tar.bz2 samba-747f5c531862ba3f06f1b8c54eed5c01e549efc8.zip |
s3: Lift the smbd_messaging_context from winreg_delete_printer_key
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/nt_printing.c | 4 |
1 files changed, 3 insertions, 1 deletions
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)); |