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
parent
8d5df2f0d5
commit
fd652e7a23
|
@ -200,6 +200,7 @@ static struct cmd* parse_command(struct jsonipc_request* ipc,
|
||||||
case CMD_OUTPUT_LIST:
|
case CMD_OUTPUT_LIST:
|
||||||
case CMD_OUTPUT_CYCLE:
|
case CMD_OUTPUT_CYCLE:
|
||||||
case CMD_WAYVNC_EXIT:
|
case CMD_WAYVNC_EXIT:
|
||||||
|
cmd = calloc(1, sizeof(*cmd));
|
||||||
break;
|
break;
|
||||||
case CMD_UNKNOWN:
|
case CMD_UNKNOWN:
|
||||||
jsonipc_error_set_new(err, ENOENT,
|
jsonipc_error_set_new(err, ENOENT,
|
||||||
|
|
Loading…
Reference in New Issue