summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-24 10:15:17 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-24 10:15:17 +0000
commitf5fe95abd203cc0506bcf7e94690d102d854ba0e (patch)
tree2a1c28c908367fb2b7d22f952b6b433da7bc2aa8 /source4/librpc/ndr
parent7d36545d33e73b46bf4e08f84548aea01c9f74c4 (diff)
downloadsamba-f5fe95abd203cc0506bcf7e94690d102d854ba0e.tar.gz
samba-f5fe95abd203cc0506bcf7e94690d102d854ba0e.tar.bz2
samba-f5fe95abd203cc0506bcf7e94690d102d854ba0e.zip
added tests for epm_Map endpointer map calls
(This used to be commit 570ad78525ffcc116842270b62ba41c86c2a018d)
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r--source4/librpc/ndr/ndr_basic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/librpc/ndr/ndr_basic.c b/source4/librpc/ndr/ndr_basic.c
index a45771ef28..1f78bc17b6 100644
--- a/source4/librpc/ndr/ndr_basic.c
+++ b/source4/librpc/ndr/ndr_basic.c
@@ -782,6 +782,9 @@ void ndr_print_GUID(struct ndr_print *ndr, const char *name, const struct GUID *
void ndr_print_DATA_BLOB(struct ndr_print *ndr, const char *name, DATA_BLOB r)
{
ndr->print(ndr, "%-25s: DATA_BLOB length=%u", name, r.length);
+ if (r.length) {
+ dump_data(10, r.data, r.length);
+ }
}