git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91aed7c
)
fixed rpcecho EchoData debug code
author
Andrew Tridgell
<tridge@samba.org>
Thu, 13 Nov 2003 10:29:58 +0000
(10:29 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 13 Nov 2003 10:29:58 +0000
(10:29 +0000)
source/torture/rpc/echo.c
patch
|
blob
|
history
diff --git
a/source/torture/rpc/echo.c
b/source/torture/rpc/echo.c
index b8c2437e4b3ce113cfe11bdf169781f36e2c49aa..c0416fdb8ac904ad7a0c2c68c78bbb78924de4c5 100644
(file)
--- a/
source/torture/rpc/echo.c
+++ b/
source/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;
}
}