Fix all non-parameterized IPCs

Reverts part of 0b970ba3 which disabled all IPCs that don't take
parameters.

Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
pull/234/head v0.6.2
Jim Ramsay 2023-01-26 22:46:51 -05:00
parent 8d5df2f0d5
commit fd652e7a23
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ static struct cmd* parse_command(struct jsonipc_request* ipc,
case CMD_OUTPUT_LIST:
case CMD_OUTPUT_CYCLE:
case CMD_WAYVNC_EXIT:
cmd = calloc(1, sizeof(*cmd));
break;
case CMD_UNKNOWN:
jsonipc_error_set_new(err, ENOENT,