summaryrefslogtreecommitdiff
path: root/source4/utils/ndrdump.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-11-20 18:51:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:02 -0500
commitd53fd3d8d5c99ae22a4d74065dc45e2f4e36a382 (patch)
tree905f747872a80efb45ce0d7d331429891bc00b2f /source4/utils/ndrdump.c
parentf55ee60575576e2213b234f4690d7a300a8e362e (diff)
downloadsamba-d53fd3d8d5c99ae22a4d74065dc45e2f4e36a382.tar.gz
samba-d53fd3d8d5c99ae22a4d74065dc45e2f4e36a382.tar.bz2
samba-d53fd3d8d5c99ae22a4d74065dc45e2f4e36a382.zip
r3891: Add rot (Running Object Table) interface
(This used to be commit 4840eaeed3cfd72026babb382f26929c29702713)
Diffstat (limited to 'source4/utils/ndrdump.c')
-rw-r--r--source4/utils/ndrdump.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/utils/ndrdump.c b/source4/utils/ndrdump.c
index 809e6729cc..86513e4efb 100644
--- a/source4/utils/ndrdump.c
+++ b/source4/utils/ndrdump.c
@@ -116,6 +116,11 @@ static void show_functions(const struct dcerpc_interface_table *p)
p = idl_iface_by_name(pipe_name);
+ if (!p) {
+ printf("Unknown pipe '%s'\n", pipe_name);
+ exit(1);
+ }
+
function = poptGetArg(pc);
inout = poptGetArg(pc);
filename = poptGetArg(pc);