summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/utils/ndrdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/ndrdump.c b/source4/utils/ndrdump.c
index 37c182d39d..9036d53409 100644
--- a/source4/utils/ndrdump.c
+++ b/source4/utils/ndrdump.c
@@ -254,7 +254,7 @@ static char *stdin_load(TALLOC_CTX *mem_ctx, size_t *size)
if (dumpdata) {
printf("%d bytes consumed\n", ndr_pull->offset);
- dump_data(0, ndr_pull->data, ndr_pull->offset);
+ dump_data(0, blob.data, blob.length);
}
ndr_print = talloc_zero(mem_ctx, struct ndr_print);