diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-10-18 14:23:19 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:21:24 -0500 |
commit | a39f239cb28e4ac6be207d4179bacffce97f1b3e (patch) | |
tree | b9f7e4e7e4c6ad7a5d0107b99c75ee2e9ac2132f /source4/torture/raw/samba3misc.c | |
parent | 19af876bbb7038f5a40cd87eced81661a2fc2ee6 (diff) | |
download | samba-a39f239cb28e4ac6be207d4179bacffce97f1b3e.tar.gz |
r19392: Use torture_setting_* rather than lp_parm_* where possible.
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
Diffstat (limited to 'source4/torture/raw/samba3misc.c')
-rw-r--r-- | source4/torture/raw/samba3misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/raw/samba3misc.c b/source4/torture/raw/samba3misc.c index 0cbc7912ed6..0b196b15879 100644 --- a/source4/torture/raw/samba3misc.c +++ b/source4/torture/raw/samba3misc.c @@ -53,8 +53,8 @@ BOOL torture_samba3_checkfsp(struct torture_context *torture) } 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"); ret = False; goto done; @@ -63,7 +63,7 @@ BOOL torture_samba3_checkfsp(struct torture_context *torture) smbcli_deltree(cli->tree, dirname); status = torture_second_tcon(torture, cli->session, - lp_parm_string(-1, "torture", "share"), + torture_setting_string(torture, "share", NULL), &tree2); CHECK_STATUS(status, NT_STATUS_OK); if (!NT_STATUS_IS_OK(status)) |