diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-09-27 23:31:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:07:24 -0500 |
commit | 3048e9ad654506219b169a934edded388d10fcad (patch) | |
tree | c1844fe26108014e59c2be927266783b67124e6e /source4/torture/basic | |
parent | 3ff257b36b9a7adb986f39f66b2c8181b61a29ee (diff) | |
download | samba-3048e9ad654506219b169a934edded388d10fcad.tar.gz samba-3048e9ad654506219b169a934edded388d10fcad.tar.bz2 samba-3048e9ad654506219b169a934edded388d10fcad.zip |
r25392: Add loadparm context as argument in a couple more places.
(This used to be commit c62f51cc28a37959128e78a1f34cfd4c6d3ba069)
Diffstat (limited to 'source4/torture/basic')
-rw-r--r-- | source4/torture/basic/base.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/basic/base.c b/source4/torture/basic/base.c index b6b1d021dc..7c9339dedc 100644 --- a/source4/torture/basic/base.c +++ b/source4/torture/basic/base.c @@ -1445,7 +1445,7 @@ static BOOL torture_samba3_errorpaths(struct torture_context *tctx) nt_status_support = lp_nt_status_support(); - if (!lp_set_cmdline("nt status support", "yes")) { + if (!lp_set_cmdline(global_loadparm, "nt status support", "yes")) { torture_comment(tctx, "Could not set 'nt status support = yes'\n"); goto fail; } @@ -1454,7 +1454,7 @@ static BOOL torture_samba3_errorpaths(struct torture_context *tctx) goto fail; } - if (!lp_set_cmdline("nt status support", "no")) { + if (!lp_set_cmdline(global_loadparm, "nt status support", "no")) { torture_comment(tctx, "Could not set 'nt status support = yes'\n"); goto fail; } @@ -1463,7 +1463,7 @@ static BOOL torture_samba3_errorpaths(struct torture_context *tctx) goto fail; } - if (!lp_set_cmdline("nt status support", + if (!lp_set_cmdline(global_loadparm, "nt status support", nt_status_support ? "yes":"no")) { torture_comment(tctx, "Could not reset 'nt status support = yes'"); goto fail; |