diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-08 14:11:03 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-08 16:03:22 +0200 |
commit | d7803ea49c1412296220b0496e0ace7f67571237 (patch) | |
tree | 7d493f80e107aed40cfb8c0ccc952048fb92531d /source3 | |
parent | 89d8998d7c0f386e106817ead9ec4360b3c2f1de (diff) | |
download | samba-d7803ea49c1412296220b0496e0ace7f67571237.tar.gz samba-d7803ea49c1412296220b0496e0ace7f67571237.tar.bz2 samba-d7803ea49c1412296220b0496e0ace7f67571237.zip |
s3: Lift the smbd_messaging_context from enumprinters_level4
Diffstat (limited to 'source3')
-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 2ae4aa004c..b911f05bae 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -4104,6 +4104,7 @@ static WERROR enumprinters_level2(TALLOC_CTX *mem_ctx, static WERROR enumprinters_level4(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, @@ -4111,8 +4112,7 @@ static WERROR enumprinters_level4(TALLOC_CTX *mem_ctx, { DEBUG(4,("enum_all_printers_info_4\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, 4, flags, info, count); } @@ -4193,7 +4193,7 @@ WERROR _spoolss_EnumPrinters(struct pipes_struct *p, break; case 4: result = enumprinters_level4(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 5: |