summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-06-19 04:31:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:44 -0500
commitbc2fd488f1ad6116ba71fe793cc4444b8cd3c7a2 (patch)
tree3615c2e5c472f37a8525074ad79f9aeaeb8fec7b /source4/torture
parentaba5a2df325cf1963ab716f90b630600cd8ba5cf (diff)
downloadsamba-bc2fd488f1ad6116ba71fe793cc4444b8cd3c7a2.tar.gz
samba-bc2fd488f1ad6116ba71fe793cc4444b8cd3c7a2.tar.bz2
samba-bc2fd488f1ad6116ba71fe793cc4444b8cd3c7a2.zip
r1197: Fix my build breakage, variables at the top of a block only...
Andrew Bartlett (This used to be commit 57ca89eab37b9d3dd83124d9d0f5a526aca0979f)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/bind.c4
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));