From 57ca89eab37b9d3dd83124d9d0f5a526aca0979f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 19 Jun 2004 04:31:12 +0000 Subject: [PATCH] r1197: Fix my build breakage, variables at the top of a block only... Andrew Bartlett --- source/torture/rpc/bind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/torture/rpc/bind.c b/source/torture/rpc/bind.c index 477b83031fe..3402e3b7073 100644 --- a/source/torture/rpc/bind.c +++ b/source/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));