1
0
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:
Amitay Isaacs 2016-06-17 18:10:16 +10:00 committed by Michael Adam
parent fd7bad4229
commit 2828b9a8c6

View File

@ -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;