From a39f239cb28e4ac6be207d4179bacffce97f1b3e Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 18 Oct 2006 14:23:19 +0000 Subject: r19392: Use torture_setting_* rather than lp_parm_* where possible. (This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6) --- source4/torture/raw/samba3hide.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/raw/samba3hide.c') diff --git a/source4/torture/raw/samba3hide.c b/source4/torture/raw/samba3hide.c index da23cfb1f1..eed38eb772 100644 --- a/source4/torture/raw/samba3hide.c +++ b/source4/torture/raw/samba3hide.c @@ -136,8 +136,8 @@ BOOL torture_samba3_hide(struct torture_context *torture) struct smbcli_tree *hideunwrite; if (!torture_open_connection_share( - torture, &cli, lp_parm_string(-1, "torture", "host"), - lp_parm_string(-1, "torture", "share"), NULL)) { + torture, &cli, torture_setting_string(torture, "host", NULL), + torture_setting_string(torture, "share", NULL), NULL)) { d_printf("torture_open_connection_share failed\n"); return False; } -- cgit