aboutsummaryrefslogtreecommitdiff
path: root/sway/ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/ipc.c')
-rw-r--r--sway/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc.c b/sway/ipc.c
index abf2ed0c..0d111778 100644
--- a/sway/ipc.c
+++ b/sway/ipc.c
@@ -253,7 +253,7 @@ void ipc_client_handle_command(struct ipc_client *client) {
default:
sway_log(L_INFO, "Unknown IPC command type %i", client->current_command);
ipc_client_disconnect(client);
- break;
+ return;
}
client->payload_length = 0;