From 2fefa818a95138fc7d6508093f426cb4ed92138f Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 28 Aug 2007 00:16:58 +0000 Subject: r24728: Use more stock torture functions. (This used to be commit da3a7ee407a2b41bd01f45072cad12bf29250b33) --- source4/torture/rpc/join.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/rpc/join.c') diff --git a/source4/torture/rpc/join.c b/source4/torture/rpc/join.c index a2a30e285a..23c43c525e 100644 --- a/source4/torture/rpc/join.c +++ b/source4/torture/rpc/join.c @@ -14,7 +14,7 @@ BOOL torture_rpc_join(struct torture_context *torture) struct test_join *tj; struct cli_credentials *machine_account; struct smbcli_state *cli; - const char *host = lp_parm_string(-1, "torture", "host"); + const char *host = torture_setting_string(torture, "host", NULL); /* Join domain as a member server. */ tj = torture_join_domain(TORTURE_NETBIOS_NAME, -- cgit