diff options
Diffstat (limited to 'sway/ipc.c')
-rw-r--r-- | sway/ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -198,7 +198,7 @@ void ipc_client_handle_command(struct ipc_client *client) { | |||
198 | case IPC_COMMAND: | 198 | case IPC_COMMAND: |
199 | { | 199 | { |
200 | buf[client->payload_length] = '\0'; | 200 | buf[client->payload_length] = '\0'; |
201 | bool success = handle_command(config, buf); | 201 | bool success = handle_command(buf); |
202 | char reply[64]; | 202 | char reply[64]; |
203 | int length = snprintf(reply, sizeof(reply), "{\"success\":%s}", success ? "true" : "false"); | 203 | int length = snprintf(reply, sizeof(reply), "{\"success\":%s}", success ? "true" : "false"); |
204 | ipc_send_reply(client, reply, (uint32_t) length); | 204 | ipc_send_reply(client, reply, (uint32_t) length); |