mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
s3:librpc: move NDR_PRINT_DEBUG() into the caller of dcerpc_pull_ncacn_packet()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
1bfba2c516
commit
ab7868a964
@ -119,10 +119,6 @@ NTSTATUS dcerpc_pull_ncacn_packet(TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
talloc_free(ndr);
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_DEBUG(ncacn_packet, r);
|
||||
}
|
||||
|
||||
if (r->frag_length != blob->length) {
|
||||
return NT_STATUS_RPC_PROTOCOL_ERROR;
|
||||
}
|
||||
|
@ -960,6 +960,10 @@ static void rpc_api_pipe_got_pdu(struct tevent_req *subreq)
|
||||
return;
|
||||
}
|
||||
|
||||
if (DEBUGLEVEL >= 10) {
|
||||
NDR_PRINT_DEBUG(ncacn_packet, state->pkt);
|
||||
}
|
||||
|
||||
status = cli_pipe_validate_current_pdu(state,
|
||||
state->cli, state->pkt,
|
||||
&state->incoming_frag,
|
||||
|
Loading…
x
Reference in New Issue
Block a user