diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-11 22:31:59 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-09-11 22:31:59 +0200 |
commit | b7ab9ef01354a2d1c36d7089be366d1684b5ca35 (patch) | |
tree | e12dbbf45859ca590fb0f6d10180189c73fbe378 | |
parent | e70cc01c34a4a3faded4bbdd50b9b716bd2ca94c (diff) |
use false instead of 0 for a bool variable
-rw-r--r-- | proto-shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-shell.c b/proto-shell.c index 7acb4c6..25cd57b 100644 --- a/proto-shell.c +++ b/proto-shell.c @@ -125,7 +125,7 @@ proto_shell_setup_cb(struct uloop_process *p, int ret) state = container_of(p, struct proto_shell_state, setup_task); uloop_timeout_cancel(&state->setup_timeout); if (state->teardown_pending) { - state->teardown_pending = 0; + state->teardown_pending = false; proto_shell_handler(&state->proto, PROTO_CMD_TEARDOWN, false); } } |