mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
ctdb-daemon: Explicitly assign boolean values
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
parent
fd7bad4229
commit
2828b9a8c6
@ -295,9 +295,9 @@ int main(int argc, const char *argv[])
|
||||
|
||||
ctdb->valgrinding = (options.valgrinding == 1);
|
||||
if ((options.valgrinding == 1) || (options.nosetsched == 1)) {
|
||||
ctdb->do_setsched = 0;
|
||||
ctdb->do_setsched = false;
|
||||
} else {
|
||||
ctdb->do_setsched = 1;
|
||||
ctdb->do_setsched = true;
|
||||
}
|
||||
|
||||
ctdb->public_addresses_file = options.public_address_list;
|
||||
|
Loading…
Reference in New Issue
Block a user