diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-12-31 01:02:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:47 -0500 |
commit | 00c7f9eed81866568abe1ec8a908fb4bc9274b59 (patch) | |
tree | 8d20fc76c76752ea718417d7f953660d571b0ca2 /source4/torture/raw | |
parent | c4e152850dc3cce08bdf751f2ae78e4efdd66dd0 (diff) | |
download | samba-00c7f9eed81866568abe1ec8a908fb4bc9274b59.tar.gz samba-00c7f9eed81866568abe1ec8a908fb4bc9274b59.tar.xz samba-00c7f9eed81866568abe1ec8a908fb4bc9274b59.zip |
r4422: make lp_set_cmdline("torture:dangerous", "Yes") a bool parameter
metze
(This used to be commit 19482a2245abbf9154423ca8997957b56333fba2)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r-- | source4/torture/raw/setfileinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/setfileinfo.c b/source4/torture/raw/setfileinfo.c index 298ccf674b5..53fbf5a0f3d 100644 --- a/source4/torture/raw/setfileinfo.c +++ b/source4/torture/raw/setfileinfo.c @@ -527,7 +527,7 @@ BOOL torture_raw_sfileinfo_bug(void) NTSTATUS status; int fnum; - if (lp_parm_int(-1, "torture", "dangerous") != 1) { + if (!lp_parm_bool(-1, "torture", "dangerous", False)) { printf("torture_raw_sfileinfo_bug disabled - enable dangerous tests to use\n"); return True; } |