Skip to content

Commit

Permalink
Fix all non-parameterized IPCs
Browse files Browse the repository at this point in the history
Reverts part of 0b970ba which disabled all IPCs that don't take
parameters.

Signed-off-by: Jim Ramsay <[email protected]>
  • Loading branch information
lack committed Jan 27, 2023
1 parent 8d5df2f commit fd652e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ctl-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fd652e7

Please sign in to comment.