diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-06-19 04:31:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:44 -0500 |
commit | bc2fd488f1ad6116ba71fe793cc4444b8cd3c7a2 (patch) | |
tree | 3615c2e5c472f37a8525074ad79f9aeaeb8fec7b /source4/torture | |
parent | aba5a2df325cf1963ab716f90b630600cd8ba5cf (diff) | |
download | samba-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.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)); |