Use torture_setting_* rather than lp_parm_* where possible.
[samba-svnmirror.git] / source / torture / basic / base.c
index 1c2b835aa84d1a69418b1ca7a025641aff03c296..2a7ba85b3d49886e44182ba09d3bf605120f9d80 100644 (file)
@@ -1569,7 +1569,7 @@ static BOOL torture_samba3_errorpaths(struct torture_context *tctx)
                }
        }
 
-       if (!lp_parm_bool(-1, "target", "samba3", False)) {
+       if (!torture_setting_bool(tctx, "samba3", False)) {
                goto done;
        }