Skip to content

Commit

Permalink
ctdb-daemon: Explicitly assign boolean values
Browse files Browse the repository at this point in the history
Signed-off-by: Amitay Isaacs <[email protected]>
Reviewed-by: Michael Adam <[email protected]>
  • Loading branch information
amitay authored and obnoxxx committed Jun 20, 2016
1 parent fd7bad4 commit 2828b9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctdb/server/ctdbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2828b9a

Please sign in to comment.