summaryrefslogtreecommitdiffstats
path: root/source/rpc_client
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-02 07:48:07 +0000
committerMartin Pool <mbp@samba.org>2002-01-02 07:48:07 +0000
commit92a3ab274e6cf09a8ba39b91f8bbacba6de40b37 (patch)
tree4ac1432d99b0f68e97f7f016393f10e48c112680 /source/rpc_client
parentd3dd28f6c443187b8d820d5a39c7c5b3be2fa95c (diff)
downloadsamba-92a3ab274e6cf09a8ba39b91f8bbacba6de40b37.tar.gz
samba-92a3ab274e6cf09a8ba39b91f8bbacba6de40b37.tar.xz
samba-92a3ab274e6cf09a8ba39b91f8bbacba6de40b37.zip
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.
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/cli_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c
index 0d2f6b17e0b..63abbc1c567 100644
--- a/source/rpc_client/cli_pipe.c
+++ b/source/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.