diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-13 10:29:58 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-13 10:29:58 +0000 |
commit | 9cadbd577504396332ba488e2749649f3518d8c3 (patch) | |
tree | b8eeb201cedada447096671975c2d46b9c619eac | |
parent | 679520ac7376780074337ed25e1e1dfc6ad93d9e (diff) | |
download | samba-9cadbd577504396332ba488e2749649f3518d8c3.tar.gz samba-9cadbd577504396332ba488e2749649f3518d8c3.tar.bz2 samba-9cadbd577504396332ba488e2749649f3518d8c3.zip |
fixed rpcecho EchoData debug code
(This used to be commit 01cdcba5cdf742599f1ec1ad23c723523cd1e839)
-rw-r--r-- | source4/torture/rpc/echo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c index b8c2437e4b..c0416fdb8a 100644 --- a/source4/torture/rpc/echo.c +++ b/source4/torture/rpc/echo.c @@ -83,9 +83,9 @@ static BOOL test_echodata(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) printf("Bad data returned for len %d at offset %d\n", len, i); printf("in:\n"); - dump_data(0, data_in, MIN(len, 16)); + dump_data(0, data_in+i, MIN(len-i, 16)); printf("out:\n"); - dump_data(0, data_out, MIN(len, 16)); + dump_data(0, data_out+i, MIN(len-1, 16)); return False; } } |