From 4f3a2be2b9b566a33c5205142666e7e697d8f93f Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Wed, 2 Jan 2002 07:48:07 +0000 Subject: Add prs_dump_before to dump everything from the start of the prs buffer up to the current position, and use this to dump pipe buffers just before parsing. (This used to be commit 92a3ab274e6cf09a8ba39b91f8bbacba6de40b37) --- source3/rpc_client/cli_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/rpc_client/cli_pipe.c') diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 0d2f6b17e0..63abbc1c56 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -796,7 +796,7 @@ BOOL rpc_api_pipe_req(struct cli_state *cli, uint8 op_num, /* Optionally capture for use in debugging */ slprintf(dump_name, sizeof(dump_name) - 1, "call_%s", cli_pipe_get_name(cli)); - prs_dump(dump_name, op_num, data); + prs_dump_before(dump_name, op_num, data); /* * The auth_len doesn't include the RPC_HDR_AUTH_LEN. -- cgit