summaryrefslogtreecommitdiff
path: root/source4/utils/ndrdump.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-09-10 09:30:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:02 -0500
commit869ae3b7a05a3840756bb92eaec93933eaa6cc2c (patch)
tree32478ec53d67eca2dd2082abcbf5c542f6eb094d /source4/utils/ndrdump.c
parent859f270d03e5700116cd1b5444a7697b888ff0b1 (diff)
downloadsamba-869ae3b7a05a3840756bb92eaec93933eaa6cc2c.tar.gz
samba-869ae3b7a05a3840756bb92eaec93933eaa6cc2c.tar.bz2
samba-869ae3b7a05a3840756bb92eaec93933eaa6cc2c.zip
r10144: dump the whole data blob
metze (This used to be commit 4f933165c22113adecf5f1b57927aa89f1715945)
Diffstat (limited to 'source4/utils/ndrdump.c')
-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);