diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-08 10:08:22 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-08 16:03:16 +0200 |
commit | bd8a1d8a8601474e1cf7cec459d05e2fe45b28b0 (patch) | |
tree | 993bbaddf2ccbfcf6f955fdcbf5c80e7080ab849 /source3/rpc_server/srv_spoolss_util.c | |
parent | 9751d7613b3db543a2cdb515c597d9600531dd76 (diff) | |
download | samba-bd8a1d8a8601474e1cf7cec459d05e2fe45b28b0.tar.gz samba-bd8a1d8a8601474e1cf7cec459d05e2fe45b28b0.tar.bz2 samba-bd8a1d8a8601474e1cf7cec459d05e2fe45b28b0.zip |
s3: Lift the smbd_messaging_context from winreg_get_printer
Diffstat (limited to 'source3/rpc_server/srv_spoolss_util.c')
-rw-r--r-- | source3/rpc_server/srv_spoolss_util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_util.c b/source3/rpc_server/srv_spoolss_util.c index 2f28f36118..9f8d21f62d 100644 --- a/source3/rpc_server/srv_spoolss_util.c +++ b/source3/rpc_server/srv_spoolss_util.c @@ -1957,6 +1957,7 @@ done: WERROR winreg_get_printer(TALLOC_CTX *mem_ctx, struct auth_serversupplied_info *server_info, + struct messaging_context *msg_ctx, const char *servername, const char *printer, struct spoolss_PrinterInfo2 **pinfo2) @@ -1989,7 +1990,7 @@ WERROR winreg_get_printer(TALLOC_CTX *mem_ctx, result = winreg_printer_openkey(tmp_ctx, server_info, - smbd_messaging_context(), + msg_ctx, &winreg_pipe, path, "", |