diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-01-12 11:46:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:08:47 -0500 |
commit | a2e754c2947d5acd826f15364b7cbf06012e79e7 (patch) | |
tree | 2a040faa75d17e5251d6efa604efde5db734b43f | |
parent | 4b73689468ebe2e25a22d73fecb1a035b2303efd (diff) | |
download | samba-a2e754c2947d5acd826f15364b7cbf06012e79e7.tar.gz samba-a2e754c2947d5acd826f15364b7cbf06012e79e7.tar.bz2 samba-a2e754c2947d5acd826f15364b7cbf06012e79e7.zip |
r4712: slight tidy up in alter_context server
(This used to be commit 20ab5bed34c852509b7f3e4c778ff23f4379b36e)
-rw-r--r-- | source4/rpc_server/dcerpc_server.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c index f031bcb50b..282860b05a 100644 --- a/source4/rpc_server/dcerpc_server.c +++ b/source4/rpc_server/dcerpc_server.c @@ -693,9 +693,8 @@ static NTSTATUS dcesrv_alter(struct dcesrv_call_state *call) pkt.u.alter_resp.max_xmit_frag = 0x2000; pkt.u.alter_resp.max_recv_frag = 0x2000; pkt.u.alter_resp.assoc_group_id = call->pkt.u.alter.assoc_group_id; - pkt.u.alter_resp.secondary_address = NULL; pkt.u.alter_resp.num_results = 1; - pkt.u.alter_resp.ctx_list = talloc_p(call, struct dcerpc_ack_ctx); + pkt.u.alter_resp.ctx_list = talloc_array(call, struct dcerpc_ack_ctx, 1); if (!pkt.u.alter_resp.ctx_list) { return NT_STATUS_NO_MEMORY; } |