1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-02 00:23:50 +03:00

r4712: slight tidy up in alter_context server

This commit is contained in:
Andrew Tridgell
2005-01-12 11:46:43 +00:00
committed by Gerald (Jerry) Carter
parent 4ec47cc108
commit 20ab5bed34

View File

@@ -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;
}