From 979878d8afa44beef7bb32641cba281390ce513b Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 4 Dec 2016 10:55:11 -0500 Subject: Decrement expected_len --- sway/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/main.c b/sway/main.c index 59998e0c..eb103a1e 100644 --- a/sway/main.c +++ b/sway/main.c @@ -178,7 +178,7 @@ static void security_sanity_check() { { "reject", CONTEXT_CONFIG, false }, { "ipc", CONTEXT_CONFIG, false }, }; - int expected_len = 5; + int expected_len = 4; for (int i = 0; i < config->command_policies->length; ++i) { struct command_policy *policy = config->command_policies->items[i]; for (int j = 0; j < expected_len; ++j) { -- cgit v1.2.3