mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
ndrdump: Show the actual struct/function name in the print, not just what it was called
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
674d2cfd04
commit
bbae56411c
@ -623,7 +623,7 @@ static void ndr_print_dummy(struct ndr_print *ndr, const char *format, ...)
|
||||
f->name);
|
||||
}
|
||||
|
||||
f->ndr_print(ndr_print, format, flags, st);
|
||||
f->ndr_print(ndr_print, f->name, flags, st);
|
||||
|
||||
if (flags & NDR_IN) {
|
||||
status = ndrdump_pull_and_print_pipes(format,
|
||||
|
@ -97,7 +97,7 @@ class NdrDumpTests(BlackboxTestCase):
|
||||
|
||||
def test_ndrdump_with_binary_struct_number(self):
|
||||
expected = '''pull returned Success
|
||||
0 : 33323130-3534-3736-3839-616263646566
|
||||
GUID : 33323130-3534-3736-3839-616263646566
|
||||
dump OK
|
||||
'''
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user