diff options
Diffstat (limited to 'source4/torture/rpc/bind.c')
-rw-r--r-- | source4/torture/rpc/bind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/bind.c b/source4/torture/rpc/bind.c index 477b83031f..3402e3b707 100644 --- a/source4/torture/rpc/bind.c +++ b/source4/torture/rpc/bind.c @@ -44,12 +44,12 @@ BOOL torture_multi_bind(int dummy) struct dcerpc_binding b; struct dcerpc_binding *binding; const char *binding_string = lp_parm_string(-1, "torture", "binding"); - TALLOC_CTX *mem_ctx; - mem_ctx = talloc_init("torture_multi_bind"); NTSTATUS status; BOOL ret; + mem_ctx = talloc_init("torture_multi_bind"); + status = dcerpc_parse_binding(mem_ctx, binding_string, &b); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("Failed to parse dcerpc binding '%s'\n", binding_string)); |