r10144: dump the whole data blob
authorStefan Metzmacher <metze@samba.org>
Sat, 10 Sep 2005 09:30:23 +0000 (09:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:38:02 +0000 (13:38 -0500)
metze
(This used to be commit 4f933165c22113adecf5f1b57927aa89f1715945)

source4/utils/ndrdump.c

index 37c182d39dfa1496601de0e8eb778886055b724e..9036d5340903fcc4bd9f067a028e177c0a75172b 100644 (file)
@@ -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);