diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-08 14:02:52 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-08 16:03:21 +0200 |
commit | 67fbb0462e5ac5a752f990da653e0492f2e12166 (patch) | |
tree | 8355b989146e9fb9b6fd7e2fd652eb91dbbed0ea /source3/rpc_server | |
parent | 259b9d7809f31202c544c6536f3ef98c93bb0fd0 (diff) | |
download | samba-67fbb0462e5ac5a752f990da653e0492f2e12166.tar.gz samba-67fbb0462e5ac5a752f990da653e0492f2e12166.tar.bz2 samba-67fbb0462e5ac5a752f990da653e0492f2e12166.zip |
s3: Lift the smbd_messaging_context from enum_all_printers_info_1
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 4083cdc3db..32769f9b12 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -3924,14 +3924,15 @@ static WERROR enumprinters_level0(TALLOC_CTX *mem_ctx, static WERROR enum_all_printers_info_1(TALLOC_CTX *mem_ctx, struct auth_serversupplied_info *server_info, + struct messaging_context *msg_ctx, uint32_t flags, union spoolss_PrinterInfo **info, uint32_t *count) { DEBUG(4,("enum_all_printers_info_1\n")); - return enum_all_printers_info_level(mem_ctx, server_info, - smbd_messaging_context(), 1, flags, info, count); + return enum_all_printers_info_level(mem_ctx, server_info, msg_ctx, + 1, flags, info, count); } /******************************************************************** @@ -3945,7 +3946,9 @@ static WERROR enum_all_printers_info_1_local(TALLOC_CTX *mem_ctx, { DEBUG(4,("enum_all_printers_info_1_local\n")); - return enum_all_printers_info_1(mem_ctx, server_info, PRINTER_ENUM_ICON8, info, count); + return enum_all_printers_info_1(mem_ctx, server_info, + smbd_messaging_context(), + PRINTER_ENUM_ICON8, info, count); } /******************************************************************** @@ -3970,7 +3973,9 @@ static WERROR enum_all_printers_info_1_name(TALLOC_CTX *mem_ctx, return WERR_INVALID_NAME; } - return enum_all_printers_info_1(mem_ctx, server_info, PRINTER_ENUM_ICON8, info, count); + return enum_all_printers_info_1(mem_ctx, server_info, + smbd_messaging_context(), + PRINTER_ENUM_ICON8, info, count); } /******************************************************************** @@ -4003,7 +4008,9 @@ static WERROR enum_all_printers_info_1_network(TALLOC_CTX *mem_ctx, return WERR_CAN_NOT_COMPLETE; } - return enum_all_printers_info_1(mem_ctx, server_info, PRINTER_ENUM_NAME, info, count); + return enum_all_printers_info_1(mem_ctx, server_info, + smbd_messaging_context(), + PRINTER_ENUM_NAME, info, count); } /******************************************************************** |