mirror of
https://github.com/swaywm/sway.git
synced 2024-12-27 15:36:29 +01:00
Decrement expected_len
This commit is contained in:
parent
cb0ca3c301
commit
979878d8af
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue