diff options
Diffstat (limited to 'source4/torture/rpc/mgmt.c')
-rw-r--r-- | source4/torture/rpc/mgmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/mgmt.c b/source4/torture/rpc/mgmt.c index 0353dd6189..1dea24517d 100644 --- a/source4/torture/rpc/mgmt.c +++ b/source4/torture/rpc/mgmt.c @@ -180,7 +180,7 @@ BOOL torture_rpc_mgmt(void) TALLOC_CTX *mem_ctx; BOOL ret = True; const char *binding = lp_parm_string(-1, "torture", "binding"); - struct dcerpc_interface_list *l; + const struct dcerpc_interface_list *l; struct dcerpc_binding b; mem_ctx = talloc_init("torture_rpc_mgmt"); @@ -196,7 +196,7 @@ BOOL torture_rpc_mgmt(void) return False; } - for (l=dcerpc_pipes;l;l=l->next) { + for (l=librpc_dcerpc_pipes();l;l=l->next) { /* some interfaces are not mappable */ if (l->table->num_calls == 0 || strcmp(l->table->name, "mgmt") == 0) { |