aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-12-04 10:55:11 -0500
committerDrew DeVault <sir@cmpwn.com>2016-12-04 10:55:11 -0500
commit979878d8afa44beef7bb32641cba281390ce513b (patch)
tree4f40e428213ae7a3719d8b165c43da5b7c8a3c24
parentcb0ca3c301c6e35df4d67808ae850219630949db (diff)
Decrement expected_len
-rw-r--r--sway/main.c2
1 files changed, 1 insertions, 1 deletions
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) {