r19392: Use torture_setting_* rather than lp_parm_* where possible.
[sfrench/samba-autobuild/.git] / source4 / torture / basic / disconnect.c
index 348f59d0576f7ec3a06b60dc1aa305a5989a39a6..5bc7d997edb8d59d6f7af2a519499bc0c901060e 100644 (file)
@@ -156,7 +156,7 @@ BOOL torture_disconnect(struct torture_context *torture)
                        return False;
                }
 
-               if (lp_parm_bool(-1, "target", "samba3", False)) {
+               if (torture_setting_bool(torture, "samba3", False)) {
                        /*
                         * In Samba3 it might happen that the old smbd from
                         * test_disconnect_lock is not scheduled before the