use false instead of 0 for a bool variable
authorFelix Fietkau <nbd@openwrt.org>
Sun, 11 Sep 2011 20:31:59 +0000 (22:31 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 11 Sep 2011 20:31:59 +0000 (22:31 +0200)
proto-shell.c

index 7acb4c62ad2d3410ba92b0cb55473732eebaf294..25cd57b89de13fec6727f9cac1c5ff5de7c6616e 100644 (file)
@@ -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);
        }
 }