summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-06 16:35:39 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-10-07 17:45:20 +1100
commit80e439453d4c0f6e160745826c561dd99e2bd167 (patch)
tree5589d73e0ff6a6c98a663bd2c08a543aa192556b /script
parent516ee5f0b04143b72239fae53ec34e4b6e3ca0d7 (diff)
downloadsamba-80e439453d4c0f6e160745826c561dd99e2bd167.tar.gz
samba-80e439453d4c0f6e160745826c561dd99e2bd167.tar.bz2
samba-80e439453d4c0f6e160745826c561dd99e2bd167.zip
param: Use a bool to hold boolean parameters
All three-state parameters invoking Auto (2) are already declared as integers, not booleans. Andrew Bartlett
Diffstat (limited to 'script')
-rw-r--r--script/mkparamdefs.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/mkparamdefs.pl b/script/mkparamdefs.pl
index eacdebd12a..b489cc9277 100644
--- a/script/mkparamdefs.pl
+++ b/script/mkparamdefs.pl
@@ -130,7 +130,7 @@ sub handle_loadparm($$$)
return;
}
my %tmap = (
- "BOOL" => "int ",
+ "BOOL" => "bool ",
"CONST_STRING" => "char *",
"STRING" => "char *",
"INTEGER" => "int ",