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