diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-08 11:01:58 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-08 16:03:20 +0200 |
commit | 259b9d7809f31202c544c6536f3ef98c93bb0fd0 (patch) | |
tree | 4d26f501943fc8f6e3ddd5977b666eaa91e5c6d9 /source3/rpc_server | |
parent | 1a3ba2f6eb9a5b1af6722f780761fcde45a896db (diff) | |
download | samba-259b9d7809f31202c544c6536f3ef98c93bb0fd0.tar.gz samba-259b9d7809f31202c544c6536f3ef98c93bb0fd0.tar.bz2 samba-259b9d7809f31202c544c6536f3ef98c93bb0fd0.zip |
s3: Lift the smbd_messaging_context from enumprinters_level0
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index d5fea8f796..4083cdc3db 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -3906,6 +3906,7 @@ static WERROR enum_all_printers_info_level(TALLOC_CTX *mem_ctx, static WERROR enumprinters_level0(TALLOC_CTX *mem_ctx, struct auth_serversupplied_info *server_info, + struct messaging_context *msg_ctx, uint32_t flags, const char *servername, union spoolss_PrinterInfo **info, @@ -3913,8 +3914,7 @@ static WERROR enumprinters_level0(TALLOC_CTX *mem_ctx, { DEBUG(4,("enum_all_printers_info_0\n")); - return enum_all_printers_info_level(mem_ctx, server_info, - smbd_messaging_context(), + return enum_all_printers_info_level(mem_ctx, server_info, msg_ctx, 0, flags, info, count); } @@ -4162,7 +4162,7 @@ WERROR _spoolss_EnumPrinters(struct pipes_struct *p, switch (r->in.level) { case 0: result = enumprinters_level0(p->mem_ctx, p->server_info, - r->in.flags, name, + p->msg_ctx, r->in.flags, name, r->out.info, r->out.count); break; case 1: |